// // GJBaseGameLayer::spawnObjectsInOrder from 0x99f600 to 0x99f774 (372 bytes) // // 2 xrefs: // > GJBaseGameLayer::spawnGroup @ 0x9c1244 // > @ 0xfb260 // // 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:58:06 +0000 // __int64 __fastcall GJBaseGameLayer::spawnObjectsInOrder( __int64 result, __int64 a2, __int64 a3, unsigned int a4, unsigned int a5, double a6) { __int64 v6; // x23 unsigned int *v7; // x1 __int64 *v8; // x20 __int64 v9; // x24 char *v10; // x21 __int64 v11; // x19 float v15; // s8 _QWORD *v17; // x22 int v18; // w27 __int64 (__fastcall *v19)(__int64); // x1 float v20; // s0 v6 = result + 12288; if ( *(unsigned __int8 *)(result + 13096) < (unsigned int)(a2 != 0) ) { v7 = *(unsigned int **)(a2 + 56); if ( *v7 ) { v8 = *((__int64 **)v7 + 2); v9 = 8LL * *v7 - 8; v10 = (char *)v8 + v9; if ( v8 <= (__int64 *)((char *)v8 + v9) ) { v11 = *v8; if ( *v8 ) { v15 = 0.0; v17 = (_QWORD *)result; v18 = 0; while ( 1 ) { if ( *(_DWORD *)(v11 + 1248) == 1 ) { result = GameObject::isSpawnableTrigger((GameObject *)v11); } else { result = *(unsigned int *)(v11 + 1028); if ( (_DWORD)result != 2065 ) goto LABEL_8; result = *(unsigned __int8 *)(v11 + 1417); } if ( (_DWORD)result ) { v19 = *(__int64 (__fastcall **)(__int64))(*(_QWORD *)v11 + 192LL); if ( !v18 ) { v15 = *(float *)v19(v11); goto LABEL_15; } v20 = (float)(*(float *)v19(v11) - v15) / 311.580109 - a6; if ( v20 <= 0.0 ) LABEL_15: (*(void (__fastcall **)(_QWORD *, __int64, __int64, double))(*v17 + 1264LL))(v17, v11, a3, 0.0); else GJEffectManager::spawnObject(v17[269], v11, a3, a4, a5); result = *(unsigned __int8 *)(v6 + 808); if ( *(_BYTE *)(v6 + 808) ) return result; v18 = 1; } LABEL_8: if ( v10 >= (char *)++v8 ) { v11 = *v8; if ( *v8 ) continue; } return result; } } } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source