// // GJBaseGameLayer::playerTouchedTrigger from 0x9c17b4 to 0x9c19c4 (528 bytes) // // 2 xrefs: // > GJBaseGameLayer::collisionCheckObjects @ 0x9e902c // > @ 0xdb3a0 // // 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:29 +0000 // __int64 __fastcall GJBaseGameLayer::playerTouchedTrigger(GJBaseGameLayer *this, PlayerObject *a2, EffectGameObject *a3) { int v6; // w2 int v7; // w1 __int64 *v8; // x0 int v9; // w3 int v10; // w3 __int64 v11; // x0 int v13; // [xsp+38h] [xbp+38h] BYREF int v14; // [xsp+3Ch] [xbp+3Ch] void *v15; // [xsp+40h] [xbp+40h] BYREF char *v16; // [xsp+48h] [xbp+48h] __int64 v17; // [xsp+50h] [xbp+50h] if ( !*((_BYTE *)this + 13169) || !*((_BYTE *)a3 + 1259) ) { if ( *((_DWORD *)a3 + 257) == 3640 ) (*(void (__fastcall **)(EffectGameObject *, _QWORD))(*(_QWORD *)a3 + 1824LL))(a3, *((unsigned int *)this + 236)); if ( *((_BYTE *)a3 + 1472) ) { v6 = 0; if ( !*((_BYTE *)a3 + 1740) ) v6 = *((_DWORD *)a2 + 229); v7 = *((_DWORD *)a3 + 229); v8 = *((__int64 **)this + 147); v13 = v7; v14 = v6; while ( 2 ) { if ( v8 ) { while ( 1 ) { v9 = *((_DWORD *)v8 + 7); if ( v7 >= v9 ) { if ( v7 > v9 ) goto LABEL_24; v10 = *((_DWORD *)v8 + 8); if ( v6 >= v10 ) break; } v8 = (__int64 *)*v8; if ( !v8 ) goto LABEL_22; } if ( v6 > v10 ) { LABEL_24: v8 = (__int64 *)v8[1]; continue; } if ( !*((_BYTE *)a3 + 1664) ) goto LABEL_16; } else { LABEL_22: if ( !*((_BYTE *)a3 + 1664) ) goto LABEL_16; GJEffectManager::removeTriggeredID(*((GJEffectManager **)this + 269), v7, v6); } break; } v15 = &v13; v11 = std::__tree,int>,std::__map_value_compare,std::__value_type,int>,std::less>,true>,std::allocator,int>>>::__emplace_unique_key_args,std::piecewise_construct_t const&,std::tuple const&>,std::tuple<>>( (__int64 **)this + 146, &v13, (__int64)&unk_116CF80, (_QWORD **)&v15); v7 = v13; v6 = v14; *(_DWORD *)(v11 + 36) = *((_DWORD *)this + 236); LABEL_16: if ( !(unsigned __int8)GJEffectManager::hasBeenTriggered(*((GJEffectManager **)this + 269), v7, v6) ) { GJEffectManager::storeTriggeredID(*((GJEffectManager **)this + 269), v13, v14); if ( *((_DWORD *)a3 + 257) == 1268 ) { v15 = nullptr; v16 = nullptr; v17 = 0; SpawnTriggerGameObject::updateRemapKeys((__int64)a3, (char **)&v15); if ( v15 ) { if ( v15 != v16 ) v16 += 4 * ~((unsigned __int64)(v16 - 4 - (_BYTE *)v15) >> 2); operator delete(v15); } } (*(void (__fastcall **)(EffectGameObject *, GJBaseGameLayer *, _QWORD, _QWORD))(*(_QWORD *)a3 + 1296LL))( a3, this, *((unsigned int *)a2 + 229), 0); } (*(void (__fastcall **)(EffectGameObject *, float))(*(_QWORD *)a3 + 1488LL))(a3, 0.0); } } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source