// // AnimatedGameObject::activateObject from 0x140645840 to 0x140645909 (201 bytes) // // 2 xrefs: // > @ 0x140829348 // > @ 0x140931388 // // 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 11:35:36 +0000 // void __fastcall AnimatedGameObject::activateObject(__int64 a1, __int64 a2) { char v2; // di int v4; // edx __int64 v5; // rax v2 = *(_BYTE *)(a1 + 773); *(_BYTE *)(a1 + 1006) = 0; if ( !v2 && !*(_BYTE *)(a1 + 978) ) { *(_BYTE *)(a1 + 773) = 1; if ( !*(_BYTE *)(a1 + 1007) ) { LOBYTE(a2) = 1; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 336LL))(a1, a2); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 1128LL))(a1, 0); if ( *(_QWORD *)(a1 + 752) ) { v4 = *(_DWORD *)(a1 + 1132); if ( !v4 ) v4 = *(_DWORD *)(a1 + 1124); v5 = GameObject::parentForZLayer(a1, v4, 1u, 5); (*(void (__fastcall **)(__int64, _QWORD, __int64))(*(_QWORD *)v5 + 456LL))( v5, *(_QWORD *)(a1 + 752), 4294966296LL); } GameObject::addColorSpriteToParent(a1, 0); } } if ( *(_BYTE *)(a1 + 773) ) { if ( !v2 ) AnimatedGameObject::updateObjectAnimation(a1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source