// // GJEffectManager::updateSpawnTriggers from 0x5c4f04 to 0x5c5034 (304 bytes) // // 2 xrefs: // > GJBaseGameLayer::loadUpToPosition @ 0x5bca3c // > GJBaseGameLayer::update @ 0x5bdc96 // // 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:52 +0000 // char **__fastcall GJEffectManager::updateSpawnTriggers(char **this, float a2) { char **v2; // r5 int v4; // r9 int v5; // r10 int v6; // r4 double v7; // d8 int v8; // r1 char *v9; // r0 char *v10; // r4 char *v11; // r8 char *v12; // r7 char *v13[3]; // [sp+18h] [bp+0h] BYREF v2 = this; v4 = 0; v5 = -1227133513 * ((*(this + 169) - *(this + 168)) >> 3); while ( v4 != v5 ) { v6 = (int)&v2[168][56 * v4]; SpawnTriggerAction::step(v6, a2); this = (char **)SpawnTriggerAction::isFinished((SpawnTriggerAction *)v6); if ( this && v2[66] ) { v7 = *(double *)(v6 + 16) - *(double *)(v6 + 8); std::vector::vector((int)v13, (const void **)(v6 + 44)); v8 = *(_DWORD *)(v6 + 40); v9 = v2[66]; if ( v8 ) (*(void (__fastcall **)(char *, int, _DWORD, _DWORD, char **))(*(_DWORD *)v9 + 8))( v9, v8, LODWORD(v7), HIDWORD(v7), v13); else (*(void (__fastcall **)(char *, _DWORD, _DWORD, _DWORD, _DWORD, _DWORD, char **, _DWORD, _DWORD))(*(_DWORD *)v9 + 4))( v9, *(_DWORD *)(v6 + 24), *(unsigned __int8 *)(v6 + 36), *(_DWORD *)(*(_DWORD *)v9 + 4), LODWORD(v7), HIDWORD(v7), v13, *(_DWORD *)(v6 + 28), *(_DWORD *)(v6 + 32)); if ( (*(int (__fastcall **)(char *))(*(_DWORD *)v2[66] + 12))(v2[66]) ) { this = std::__vector_base::~__vector_base(v13); break; } this = std::__vector_base::~__vector_base(v13); } ++v4; } v10 = v2[168]; v11 = v2[169]; while ( v10 != v11 ) { if ( *v10 ) { v12 = v10; while ( 1 ) { v12 += 56; if ( v12 == v11 ) break; if ( !*v12 ) { this = (char **)SpawnTriggerAction::operator=((int)v10, (int)v12); v10 += 56; } } v11 = v10; break; } v10 += 56; } if ( v11 != v2[169] ) { while ( 1 ) { this = (char **)v2[169]; if ( v11 == (char *)this ) break; v2[169] = (char *)(this - 14); std::__vector_base::~__vector_base(this - 3); } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source