// // GJBaseGameLayer::destroyObject from 0x100284cd4 to 0x100284db8 (228 bytes) // // 5 xrefs: // > GJBaseGameLayer::collisionCheckObjects @ 0x100283e8c // > GJBaseGameLayer::collisionCheckObjects @ 0x100284594 // > PlayerObject::collidedWithObjectInternal @ 0x1002bf7b8 // > PlayerObject::collidedWithObjectInternal @ 0x1002bfb54 // > PlayerObject::collidedWithObjectInternal @ 0x1002bfc4c // // 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:57 +0000 // void __fastcall GJBaseGameLayer::destroyObject(__int64 a1, unsigned int *a2) { __int64 v4; // x21 double *v5; // x0 __int64 v6; // [xsp+8h] [xbp-28h] BYREF if ( (*(unsigned int (__fastcall **)(unsigned int *))(*(_QWORD *)a2 + 1800LL))(a2) == 30 && (unsigned int)GameObject::shouldShowPickupEffects(a2) ) { v4 = a2[423]; if ( (int)v4 < 1 ) { GameObject::spawnDefaultPickupParticle(a2, a1); } else { v5 = (double *)(*(__int64 (__fastcall **)(unsigned int *))(*(_QWORD *)a2 + 192LL))(a2); sub_1000262F4(&v6, v5); GJBaseGameLayer::spawnParticleTrigger(a1, v4, &v6, 0.0, 1.0); } } GameObject::playDestroyObjectAnim(a2, a1); GameObject::destroyObject(a2); if ( (*(unsigned int (__fastcall **)(unsigned int *))(*(_QWORD *)a2 + 1800LL))(a2) == 21 ) GJBaseGameLayer::gameEventTriggered(a1, 61, 0, 0); }