// // GJEffectManager::playerDied from 0x1002d4750 to 0x1002d488b (315 bytes) // // 1 xrefs: // > PlayLayer::destroyPlayer @ 0x100087968 // // 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:28:14 +0000 // void __fastcall GJEffectManager::playerDied(__int64 a1) { __int64 v1; // rbx __int64 v2; // rax __int64 v3; // r13 unsigned __int64 v4; // r14 const void *v5; // r15 signed __int64 v6; // r12 char *v7; // [rsp+0h] [rbp-50h] void *__p[2]; // [rsp+10h] [rbp-40h] BYREF char *v9; // [rsp+20h] [rbp-30h] if ( *(_QWORD *)(a1 + 320) ) { v1 = *(_QWORD *)(a1 + 536); v2 = *(_QWORD *)(a1 + 544); if ( v2 != v1 ) { v3 = 0; v4 = 0; do { if ( !*(_BYTE *)(v1 + v3) ) { *(_OWORD *)__p = 0; v9 = nullptr; v5 = *(const void **)(v1 + v3 + 24); v6 = *(_QWORD *)(v1 + v3 + 32) - (_QWORD)v5; if ( v6 ) { if ( v6 < 0 ) sub_100093980(); __p[0] = operator new(v6); __p[1] = __p[0]; v7 = (char *)__p[0] + v6; v9 = (char *)__p[0] + v6; memcpy(__p[0], v5, v6); __p[1] = v7; } (***(void (__fastcall ****)(_QWORD, _QWORD, _QWORD, void **, _QWORD, _QWORD))(a1 + 320))( *(_QWORD *)(a1 + 320), *(unsigned int *)(v1 + v3 + 4), *(unsigned __int8 *)(v1 + v3 + 8), __p, *(unsigned int *)(v1 + v3 + 12), *(unsigned int *)(v1 + v3 + 16)); if ( __p[0] ) { __p[1] = __p[0]; operator delete(__p[0]); } v1 = *(_QWORD *)(a1 + 536); v2 = *(_QWORD *)(a1 + 544); } ++v4; v3 += 48; } while ( 0xAAAAAAAAAAAAAAABLL * ((v2 - v1) >> 4) > v4 ); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source