Originally Posted by
Tanaris4
What's odd though is 0x11780b4 literally points to 0x0. There is no data in that memory location.
<SINP>
0x11780b4 is for PC.
Code:
PC:
.text:006C3740 GetCamera proc near ; CODE XREF: sub_403080+FFp
.text:006C3740 ; sub_4053E0+B9p ...
.text:006C3740 mov eax, dword_11780B4
.text:006C3745 test eax, eax
.text:006C3747 jz short loc_6C3750
.text:006C3749 mov eax, [eax+7834h]
.text:006C374F retn
.text:006C3750 ; ---------------------------------------------------------------------------
.text:006C3750
.text:006C3750 loc_6C3750: ; CODE XREF: GetCamera+7j
.text:006C3750 xor eax, eax
.text:006C3752 retn
.text:006C3752 GetCamera endp
PC: [[0x11780b4]+0x7834]
Mac:
__text:0016CE66 GetCamera proc near ; CODE XREF: sub_E23E+16Dp
__text:0016CE66 ; sub_E5B4+D0p ...
__text:0016CE66 push ebp
__text:0016CE67 mov ebp, esp
__text:0016CE69 mov eax, ds:dword_139FE44
__text:0016CE6E test eax, eax
__text:0016CE70 jz short loc_16CE78
__text:0016CE72 mov eax, [eax+782Ch]
__text:0016CE78
__text:0016CE78 loc_16CE78: ; CODE XREF: GetCamera+Aj
__text:0016CE78 pop ebp
__text:0016CE79 retn
__text:0016CE79 GetCamera endp
Mac: [[0x139FE44]+0x782C]
Edit: This is what i would assume:
