// // GJBaseGameLayer::spawnObjectsInOrder from 0x100287d58 to 0x100287eb0 (344 bytes) // // 1 xrefs: // > GJBaseGameLayer::spawnGroup @ 0x100287cd8 // // 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 11:01:58 +0000 // __int64 __fastcall GJBaseGameLayer::spawnObjectsInOrder( __int64 result, __int64 a2, __int64 a3, int a4, int a5, double a6) { __int64 v6; // x22 unsigned int *v7; // x9 __int64 v8; // x8 char v13; // w27 __int64 *v14; // x25 unsigned __int64 v15; // x26 float v16; // s9 __int64 v17; // x23 float *v18; // x0 float v19; // s0 if ( a2 ) { v6 = result; if ( (*(_BYTE *)(result + 13096) & 1) == 0 ) { v7 = *(unsigned int **)(a2 + 56); v8 = *v7; if ( (_DWORD)v8 ) { v13 = 0; v14 = *((__int64 **)v7 + 2); v15 = (unsigned __int64)&v14[v8 - 1]; v16 = 0.0; do { v17 = *v14; if ( !*v14 ) return result; if ( *(_DWORD *)(v17 + 1248) == 1 ) { result = sub_1002FF818(*v14); if ( (result & 1) != 0 ) goto LABEL_11; } else if ( *(_DWORD *)(v17 + 1028) == 2065 && *(_BYTE *)(v17 + 1417) == 1 ) { LABEL_11: v18 = (float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v17 + 192LL))(v17); if ( (v13 & 1) != 0 ) { v19 = (float)(*v18 - v16) / 311.580109 - a6; if ( v19 > 0.0 ) { result = sub_100014CB8(*(_QWORD *)(v6 + 2152), v17, a3, a4, a5, v19); LABEL_16: if ( (*(_BYTE *)(v6 + 13096) & 1) != 0 ) return result; v13 = 1; goto LABEL_18; } } else { v16 = *v18; } result = (*(__int64 (__fastcall **)(__int64, __int64, __int64, double))(*(_QWORD *)v6 + 1264LL))( v6, v17, a3, 0.0); goto LABEL_16; } LABEL_18: ++v14; } while ( (unsigned __int64)v14 <= v15 ); } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source