// // SetupCameraOffsetTrigger::onTargetMode from 0x1007423d0 to 0x1007424a4 (212 bytes) // // 2 xrefs: // > SetupCameraOffsetTrigger::init @ 0x100741b14 // > SetupCameraOffsetTrigger::init @ 0x100741c1c // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:36:29 +0000 // __int64 __fastcall SetupCameraOffsetTrigger::onTargetMode(__int64 a1, __int64 a2) { int v3; // r15d int v4; // ecx int v5; // eax __int64 v6; // rcx __int64 v8; // rdi unsigned int v9; // r14d v3 = *(_DWORD *)(a1 + 1112); v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2); v5 = 0; if ( v3 != v4 ) v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2); *(_DWORD *)(a1 + 1112) = v5; v6 = *(_QWORD *)(a1 + 680); if ( v6 ) { *(_DWORD *)(v6 + 1512) = v5; } else { v8 = *(_QWORD *)(a1 + 688); if ( v8 && (unsigned int)sub_1007FEF90(v8) ) { v9 = 0; do *(_DWORD *)(sub_1007FEFE0(*(_QWORD *)(a1 + 688), v9++) + 1512) = *(_DWORD *)(a1 + 1112); while ( v9 < (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 688)) ); } } CCMenuItemToggler::toggle(*(_QWORD *)(a1 + 1120), *(_DWORD *)(a1 + 1112) == 1); return CCMenuItemToggler::toggle(*(_QWORD *)(a1 + 1128), *(_DWORD *)(a1 + 1112) == 2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source