// // GJBaseGameLayer::resetStoppedAreaObjects from 0x9a4dfc to 0x9a5048 (588 bytes) // // 2 xrefs: // > LevelEditorLayer::onStopPlaytest @ 0x78ddfc // > @ 0xe30e0 // // 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:09 +0000 // __int64 __fastcall GJBaseGameLayer::resetStoppedAreaObjects(GJBaseGameLayer *this) { __int64 result; // x0 __int64 v3; // x23 int i; // w22 __int64 v5; // x19 float v6; // s0 int v7; // w24 double v8; // d1 float v9; // s0 double v10; // d1 float v11; // s0 float v12; // s5 __int64 v13; // x1 float v14; // s3 float v15; // s2 float v16; // s1 float v17; // s3 float v18; // s1 __int64 v19; // x1 float v20; // s1 float v21; // s2 int v22; // w0 int v23; // w0 float v24; // s1 float v25; // s0 result = *((unsigned int *)this + 891); v3 = 0; for ( i = 0; (int)result > i; result = *((unsigned int *)this + 891) ) { v5 = *(_QWORD *)(*((_QWORD *)this + 425) + v3); *(_BYTE *)(v5 + 840) = 1; *(_BYTE *)(v5 + 864) = 1; *(_BYTE *)(v5 + 865) = 1; if ( *(_DWORD *)(v5 + 1240) < *((_DWORD *)this + 236) ) { v6 = *(float *)(v5 + 668); v7 = 0; if ( v6 != 0.0 ) { *(_BYTE *)(v5 + 842) = 1; v8 = *(double *)(v5 + 944); v7 = 1; *(_DWORD *)(v5 + 668) = 0; *(double *)(v5 + 944) = v8 - v6; } v9 = *(float *)(v5 + 672); if ( v9 != 0.0 ) { *(_BYTE *)(v5 + 842) = 1; v10 = *(double *)(v5 + 952); v7 = 1; *(_DWORD *)(v5 + 672) = 0; *(double *)(v5 + 952) = v10 - v9; } v11 = *(float *)(v5 + 700); v12 = *(float *)(v5 + 704); if ( v11 != 0.0 || v12 != 0.0 ) { v13 = *(_QWORD *)v5; v14 = *(float *)(v5 + 1152); v15 = *(float *)(v5 + 696) - v12; v16 = *(float *)(v5 + 1156) - v12; *(float *)(v5 + 692) = *(float *)(v5 + 692) - v11; *(_DWORD *)(v5 + 700) = 0; *(float *)(v5 + 1152) = v14 - v11; *(float *)(v5 + 696) = v15; *(float *)(v5 + 1156) = v16; *(_DWORD *)(v5 + 704) = 0; (*(void (__fastcall **)(__int64, float))(v13 + 1456))(v5, 1.0); } v17 = *(float *)(v5 + 680); v18 = *(float *)(v5 + 688); if ( v17 != 0.0 || v18 != 0.0 ) { v19 = *(_QWORD *)v5; v20 = *(float *)(v5 + 684) - v18; v21 = *(float *)(v5 + 676) - v17; *(_DWORD *)(v5 + 680) = 0; *(float *)(v5 + 684) = v20; *(float *)(v5 + 676) = v21; *(_DWORD *)(v5 + 688) = 0; (*(void (__fastcall **)(__int64, float))(v19 + 1480))(v5, 0.0); } v22 = *(unsigned __int8 *)(v5 + 1290); *(_DWORD *)(v5 + 1240) = *((_DWORD *)this + 236); if ( !v22 ) { v23 = *((_DWORD *)this + 236); if ( *(_DWORD *)(v5 + 1236) != v23 ) { v24 = *(double *)(v5 + 944); v25 = *(double *)(v5 + 952); *(float *)(v5 + 1224) = v24; *(float *)(v5 + 1228) = v25; *(_DWORD *)(v5 + 1236) = *((_DWORD *)this + 236); GameObject::dirtifyObjectRect(v5); v23 = *((_DWORD *)this + 236); } if ( *(_DWORD *)(v5 + 1244) != v23 ) { *(_QWORD *)(v5 + 988) = *(_QWORD *)(v5 + 1152); *(_DWORD *)(v5 + 1244) = *((_DWORD *)this + 236); GameObject::dirtifyObjectRect(v5); } } if ( v7 ) (*(void (__fastcall **)(GJBaseGameLayer *, __int64))(*(_QWORD *)this + 1368LL))(this, v5); } ++i; v3 += 8; (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v5 + 1480LL))(v5, 0.0); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v5 + 1456LL))(v5, 1.0); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source