// // GJBaseGameLayer::removeObjectFromSection from 0x9a4260 to 0x9a4424 (452 bytes) // // 12 xrefs: // > PlayLayer::removeCheckpoint @ 0x6f6494 // > PlayLayer::removeCheckpoint @ 0x6f64dc // > LevelEditorLayer::removePlayerCollisionBlock @ 0x78d0fc // > LevelEditorLayer::removePlayerCollisionBlock @ 0x78d110 // > LevelEditorLayer::removeObject @ 0x790868 // > LevelEditorLayer::handleAction @ 0x7a1e3c // > LevelEditorLayer::handleAction @ 0x7a1ea0 // > GJBaseGameLayer::reorderObjectSection @ 0x9a4438 // > GJBaseGameLayer::updateExtendedCollision @ 0x9a4bc0 // > GJBaseGameLayer::addUIObject @ 0x9cc944 // > SetupObjectOptionsPopup::onDisableObject @ 0xab94cc // > @ 0xa4410 // // 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 // unsigned __int64 __fastcall GJBaseGameLayer::removeObjectFromSection(unsigned __int64 this, GameObject *a2) { int v2; // w2 int v3; // w4 int v4; // w7 __int64 v5; // x5 __int64 *v6; // x3 __int64 v7; // x6 int v8; // w2 int v9; // w2 int v10; // w4 int v11; // w7 __int64 v12; // x5 __int64 *v13; // x3 __int64 v14; // x6 int v15; // w2 __int64 v16; // x2 int v17; // w0 __int64 v18; // x1 __int64 v19; // x2 __int64 v20; // x3 int v21; // w2 int v22; // w4 int v23; // w1 int v24; // w2 int v25; // w3 int v26; // w6 __int64 v27; // x4 __int64 *v28; // x2 __int64 v29; // x5 int v30; // w0 __int64 v31; // x3 int v32; // w2 int v33; // w4 int v34; // w1 v2 = *((_DWORD *)a2 + 157); if ( (v2 & 0x80000000) == 0 ) { v3 = *((_DWORD *)a2 + 158); v4 = *((_DWORD *)a2 + 155); v5 = **(_QWORD **)(*(_QWORD *)(this + 13536) + 8LL * v2); v6 = *(__int64 **)(**(_QWORD **)(*(_QWORD *)(this + 13368) + 8LL * v2) + 8LL * v3); v7 = *v6; v8 = *(_DWORD *)(v5 + 4LL * v3) - 1; *(_DWORD *)(v5 + 4LL * v3) = v8; *(_QWORD *)(v7 + 8LL * v4) = *(_QWORD *)(*v6 + 8LL * v8); *(_DWORD *)(*(_QWORD *)(*v6 + 8LL * *((int *)a2 + 155)) + 620LL) = *((_DWORD *)a2 + 155); if ( *((_DWORD *)a2 + 257) == 1816 ) { if ( *((_BYTE *)a2 + 636) ) { v20 = *(_QWORD *)(this + 13472); v21 = *(_DWORD *)(this + 13496) - 1; v22 = *((_DWORD *)a2 + 156); *(_DWORD *)(this + 13496) = v21; *(_QWORD *)(v20 + 8LL * v22) = *(_QWORD *)(v20 + 8LL * v21); v23 = *((_DWORD *)a2 + 156); this = *(_QWORD *)(*(_QWORD *)(this + 13472) + 8LL * v23); *(_DWORD *)(this + 624) = v23; } else { v24 = *((_DWORD *)a2 + 157); v25 = *((_DWORD *)a2 + 158); v26 = *((_DWORD *)a2 + 156); v27 = **(_QWORD **)(*(_QWORD *)(this + 13584) + 8LL * v24); v28 = *(__int64 **)(**(_QWORD **)(*(_QWORD *)(this + 13416) + 8LL * v24) + 8LL * v25); v29 = *v28; v30 = *(_DWORD *)(v27 + 4LL * v25) - 1; *(_DWORD *)(v27 + 4LL * v25) = v30; *(_QWORD *)(v29 + 8LL * v26) = *(_QWORD *)(*v28 + 8LL * v30); this = *((unsigned int *)a2 + 156); *(_DWORD *)(*(_QWORD *)(*v28 + 8LL * (int)this) + 624LL) = this; } } else if ( *((_DWORD *)a2 + 230) != 7 ) { if ( *((_BYTE *)a2 + 636) ) { v31 = *(_QWORD *)(this + 13440); v32 = *(_DWORD *)(this + 13464) - 1; v33 = *((_DWORD *)a2 + 156); *(_DWORD *)(this + 13464) = v32; *(_QWORD *)(v31 + 8LL * v33) = *(_QWORD *)(v31 + 8LL * v32); v34 = *((_DWORD *)a2 + 156); this = *(_QWORD *)(*(_QWORD *)(this + 13440) + 8LL * v34); *(_DWORD *)(this + 624) = v34; } else { v9 = *((_DWORD *)a2 + 157); v10 = *((_DWORD *)a2 + 158); v11 = *((_DWORD *)a2 + 156); v12 = **(_QWORD **)(*(_QWORD *)(this + 13560) + 8LL * v9); v13 = *(__int64 **)(**(_QWORD **)(*(_QWORD *)(this + 13392) + 8LL * v9) + 8LL * v10); v14 = *v13; v15 = *(_DWORD *)(v12 + 4LL * v10) - 1; *(_DWORD *)(v12 + 4LL * v10) = v15; *(_QWORD *)(v14 + 8LL * v11) = *(_QWORD *)(*v13 + 8LL * v15); *(_DWORD *)(*(_QWORD *)(*v13 + 8LL * *((int *)a2 + 156)) + 624LL) = *((_DWORD *)a2 + 156); LODWORD(v13) = *((_DWORD *)a2 + 157); v16 = *(_QWORD *)(this + 13608); v17 = *((_DWORD *)a2 + 158); v18 = 1LL << (v17 & 0x3F); this = (unsigned __int64)v17 >> 6; v19 = **(_QWORD **)(v16 + 8LL * (int)v13); *(_QWORD *)(v19 + 8 * this) |= v18; } } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source