// // SetupRandTriggerPopup::updateTargetID2 from 0x1006ba1a0 to 0x1006ba236 (150 bytes) // // 0 xrefs: // // 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:35:29 +0000 // __int64 __fastcall SetupRandTriggerPopup::updateTargetID2(__int64 a1) { __int64 result; // rax int v3; // ecx int v4; // esi __int64 v5; // rdi __int64 v6; // rdi unsigned int v7; // r14d __int64 v8; // rax result = *(unsigned int *)(a1 + 1060); v3 = 0; if ( (int)result > 0 ) v3 = *(_DWORD *)(a1 + 1060); v4 = 9999; if ( v3 < 9999 ) v4 = v3; *(_DWORD *)(a1 + 1060) = v4; v5 = *(_QWORD *)(a1 + 680); if ( v5 ) return EffectGameObject::setTargetID2(v5, v4); v6 = *(_QWORD *)(a1 + 688); if ( v6 ) { result = sub_1007FEF90(v6); if ( (_DWORD)result ) { v7 = 0; do { v8 = sub_1007FEFE0(*(_QWORD *)(a1 + 688), v7); EffectGameObject::setTargetID2(v8, *(_DWORD *)(a1 + 1060)); ++v7; result = sub_1007FEF90(*(_QWORD *)(a1 + 688)); } while ( v7 < (unsigned int)result ); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source