// // GJBaseGameLayer::processAreaActions from 0x5ad0c0 to 0x5ad268 (424 bytes) // // 1 xrefs: // > GJBaseGameLayer::processMoveActionsStep @ 0x5bc8a8 // // 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:26 +0000 // void __fastcall GJBaseGameLayer::processAreaActions(GJBaseGameLayer *this, float a2, _BOOL4 a3) { signed int v6; // r6 int v7; // r5 int v8; // r5 int v9; // r2 int v10; // r1 int v11; // r3 _DWORD *v12; // r2 int v13; // r6 int v14; // r5 float v15; // s14 float v16; // s14 int v17; // [sp+8h] [bp-Ch] BYREF v6 = *((unsigned __int8 *)this + 10829); if ( *((_BYTE *)this + 10829) ) return; *((_DWORD *)this + 203) = *((_DWORD *)this + 202) - 1; GJBaseGameLayer::processAreaEffects((int)this, (int *)this + 296, 2u, a2, a3); GJBaseGameLayer::processAreaEffects((int)this, (int *)this + 293, 1u, a2, a3); GJBaseGameLayer::processAreaEffects((int)this, (int *)this + 290, v6, a2, a3); while ( v6 < *((_DWORD *)this + 562) ) { v7 = *(_DWORD *)(*((_DWORD *)this + 540) + 4 * v6); if ( *(_DWORD *)(v7 + 1076) >= *((_DWORD *)this + 202) ) { if ( !a3 ) goto LABEL_9; } else { *(_BYTE *)(v7 + 708) = 1; *(_BYTE *)(v7 + 732) = 1; *(_BYTE *)(v7 + 733) = 1; if ( GJBaseGameLayer::resetAreaObjectValues(this, (GameObject *)v7, 0) ) (*(void (__fastcall **)(GJBaseGameLayer *, int))(*(_DWORD *)this + 684))(this, v7); } (*(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v7 + 740))(v7, 0); (*(void (__fastcall **)(int, int))(*(_DWORD *)v7 + 728))(v7, 1065353216); LABEL_9: ++v6; } v8 = 0; *((_DWORD *)this + 562) = 0; while ( v8 < *((_DWORD *)this + 561) ) { v9 = *((_DWORD *)this + 562); v10 = *((_DWORD *)this + 567); v11 = *(_DWORD *)(*((_DWORD *)this + 537) + 4 * v8); v17 = v11; if ( v10 > v9 ) { *(_DWORD *)(*((_DWORD *)this + 540) + 4 * v9) = v11; } else { v12 = *((_DWORD **)this + 541); if ( v12 == *((_DWORD **)this + 542) ) { std::vector::__push_back_slow_path((int)this + 2160, &v17); } else { if ( v12 ) *v12 = v11; *((_DWORD *)this + 541) += 4; } ++*((_DWORD *)this + 567); } ++v8; ++*((_DWORD *)this + 562); } if ( *((_BYTE *)this + 10717) ) { v13 = 0; while ( v13 < *((_DWORD *)this + 561) ) { v14 = *(_DWORD *)(*((_DWORD *)this + 537) + 4 * v13++); v15 = *(double *)(v14 + 808); *(float *)(v14 + 1060) = v15; v16 = *(double *)(v14 + 816); *(float *)(v14 + 1064) = v16; *(_BYTE *)(v14 + 732) = 1; *(_BYTE *)(v14 + 733) = 1; *(_DWORD *)(v14 + 852) = *(_DWORD *)(v14 + 1008); *(_DWORD *)(v14 + 856) = *(_DWORD *)(v14 + 1012); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source