// // GJEffectManager::spawnObject from 0xa0487c to 0xa04998 (284 bytes) // // 2 xrefs: // > GJBaseGameLayer::spawnObjectsInOrder @ 0x99f75c // > @ 0xf4390 // // This function is hookable on this platform (idp: arm, 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:59:20 +0000 // __int64 *__fastcall GJEffectManager::spawnObject(__int64 *result, __int64 a2, __int64 a3, int a4, int a5, float a6) { __int64 *v6; // x20 unsigned __int64 v7; // x19 double v10; // d0 int v11; // [xsp+3Ch] [xbp+3Ch] BYREF int v12; // [xsp+40h] [xbp+40h] BYREF float v13; // [xsp+44h] [xbp+44h] BYREF __int64 v14; // [xsp+48h] [xbp+48h] BYREF v14 = a2; v12 = a4; v11 = a5; v13 = a6; if ( a2 ) { v6 = result + 142; result = (__int64 *)result[144]; v7 = v6[1]; if ( v7 >= (unsigned __int64)result ) { return (__int64 *)std::vector::__emplace_back_slow_path const&,int &,int &>( v6, &v14, &v13, a3, &v12, &v11); } else { v10 = a6; if ( v7 ) { result = (__int64 *)(v7 + 48); *(_BYTE *)v7 = 0; *(_BYTE *)(v7 + 1) = 0; *(_DWORD *)(v7 + 24) = 0; *(_QWORD *)(v7 + 16) = 0; *(_DWORD *)(v7 + 28) = 0; *(_DWORD *)(v7 + 32) = 0; *(_BYTE *)(v7 + 36) = 0; *(_QWORD *)(v7 + 48) = 0; *(_QWORD *)(v7 + 56) = 0; *(_QWORD *)(v7 + 64) = 0; *(_QWORD *)(v7 + 40) = a2; *(double *)(v7 + 8) = v10; if ( a3 != v7 + 48 ) result = (__int64 *)std::vector::assign(result, *(char **)a3, *(_QWORD *)(a3 + 8)); *(_DWORD *)(v7 + 28) = a4; *(_DWORD *)(v7 + 32) = a5; v7 = v6[1]; } v6[1] = v7 + 72; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source