// // GJBaseGameLayer::spawnObject from 0x9c80ac to 0x9c82f8 (588 bytes) // // 5 xrefs: // > `non-virtual thunk to'GJBaseGameLayer::spawnObject @ 0x9c82fc // > @ 0xaaea8 // > @ 0x1428930 // > @ 0x1435e90 // > @ 0x1475760 // // 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:34 +0000 // __int64 __fastcall GJBaseGameLayer::spawnObject(__int64 a1, GameObject *this, __int64 a3, double a4) { __int64 v5; // x22 _QWORD *v10; // x0 _QWORD *v11; // x20 void *v12; // x0 void *v13[2]; // [xsp+40h] [xbp+40h] BYREF void *v14; // [xsp+50h] [xbp+50h] __int64 v15; // [xsp+58h] [xbp+58h] float v16; // [xsp+60h] [xbp+60h] v5 = a1 + 12288; if ( !*(_BYTE *)(a1 + 13096) ) { if ( *((_DWORD *)this + 312) == 1 ) { if ( !*((_BYTE *)this + 650) && (*((_BYTE *)this + 1664) || !(*(unsigned __int8 (__fastcall **)(GameObject *))(*(_QWORD *)this + 1552LL))(this)) && *((_BYTE *)this + 1473) && (!*(_BYTE *)(v5 + 881) || !*((_BYTE *)this + 1259)) && GameObject::isSpawnableTrigger(this) ) { if ( *(_QWORD *)a3 == *(_QWORD *)(a3 + 8) ) { (*(void (__fastcall **)(GameObject *, float))(*(_QWORD *)this + 1488LL))(this, 0.0); if ( *((_DWORD *)this + 257) == 1268 ) { SpawnTriggerGameObject::updateRemapKeys((__int64)this, (char **)a3); *((double *)this + 237) = a4; } (*(void (__fastcall **)(GameObject *, __int64, _QWORD, __int64))(*(_QWORD *)this + 1296LL))(this, a1, 0, a3); } else { v13[0] = nullptr; v13[1] = nullptr; v14 = nullptr; v15 = 0; v16 = 1.0; GJBaseGameLayer::applyRemap(a1, (__int64)this, (__int64 *)a3, v13); (*(void (__fastcall **)(GameObject *, float))(*(_QWORD *)this + 1488LL))(this, 0.0); if ( *((_DWORD *)this + 257) == 1268 ) { SpawnTriggerGameObject::updateRemapKeys((__int64)this, (char **)a3); *((double *)this + 237) = a4; } (*(void (__fastcall **)(GameObject *, __int64, _QWORD, __int64))(*(_QWORD *)this + 1296LL))(this, a1, 0, a3); if ( *(_QWORD *)a3 != *(_QWORD *)(a3 + 8) ) GJBaseGameLayer::restoreRemap(a1, (__int64)this, v13); v10 = v14; if ( v14 ) { do { v11 = (_QWORD *)*v10; operator delete(v10); v10 = v11; } while ( v11 ); } v12 = v13[0]; v13[0] = nullptr; if ( v12 ) operator delete(v12); } } } else { (*(void (__fastcall **)(GameObject *))(*(_QWORD *)this + 1520LL))(this); } } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source