// // GJBaseGameLayer::spawnObjectsInOrder from 0x58fba0 to 0x58fc8c (236 bytes) // // 1 xrefs: // > GJBaseGameLayer::spawnGroup @ 0x5a45cc // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:53:04 +0000 // int __fastcall GJBaseGameLayer::spawnObjectsInOrder(int result, int a2, double a3, int a4, int a5, int a6) { _DWORD *v6; // r8 _DWORD *v8; // r2 int *v9; // r5 float v10; // s20 int v11; // r6 int *v12; // r10 _BYTE *v13; // r11 int v14; // r4 int v15; // t1 int (__fastcall *v16)(int); // r3 float v17; // s14 v6 = (_DWORD *)result; if ( !*(_BYTE *)(result + 11140) ) { if ( a2 ) { v8 = *(_DWORD **)(a2 + 52); if ( *v8 ) { v9 = (int *)v8[3]; v10 = 0.0; v11 = *(unsigned __int8 *)(result + 11140); v12 = &v9[*v8 - 1]; v13 = (_BYTE *)(result + 11140); while ( 1 ) { while ( 1 ) { if ( v9 > v12 ) return result; v15 = *v9++; v14 = v15; if ( !v15 ) return result; if ( *(_DWORD *)(v14 + 1084) != 1 ) break; result = GameObject::isSpawnableTrigger((GameObject *)v14); LABEL_11: if ( result ) { v16 = *(int (__fastcall **)(int))(*(_DWORD *)v14 + 96); if ( !v11 ) { v10 = *(float *)v16(v14); LABEL_15: result = (*(int (__fastcall **)(_DWORD *, int, _DWORD, _DWORD, int))(*v6 + 632))(v6, v14, 0, 0, a4); goto LABEL_17; } v17 = (float)(*(float *)v16(v14) - v10) / 311.580109 - a3; if ( v17 <= 0.0 ) goto LABEL_15; result = GJEffectManager::spawnObject(v6[381], v14, LODWORD(v17), a4, a5, a6); LABEL_17: if ( *v13 ) return result; v11 = 1; } } if ( *(_DWORD *)(v14 + 892) == 2065 ) { result = *(unsigned __int8 *)(v14 + 1237); goto LABEL_11; } } } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source