// // CountTriggerGameObject::triggerObject from 0x899080 to 0x899288 (520 bytes) // // 2 xrefs: // > @ 0xfd4f8 // > @ 0x14512c0 // // 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:56:11 +0000 // __int64 __fastcall CountTriggerGameObject::triggerObject( CountTriggerGameObject *a1, GJBaseGameLayer *this, int a3, const void **a4) { int v7; // w4 __int64 v9; // x24 unsigned int v10; // w23 __int64 v11; // x2 unsigned int v12; // w22 __int64 v13; // x4 unsigned int v14; // w21 void *v15; // x0 char *v16; // x2 unsigned int v17; // w23 __int64 v18; // x2 __int64 v19; // x3 unsigned int v20; // w22 __int64 v21; // x5 __int64 v22; // [xsp+50h] [xbp+40h] __int64 v23; // [xsp+58h] [xbp+48h] __int64 v24; // [xsp+58h] [xbp+48h] __int64 v25; // [xsp+60h] [xbp+50h] __int64 v26; // [xsp+60h] [xbp+50h] void *v27; // [xsp+70h] [xbp+60h] BYREF char *v28; // [xsp+78h] [xbp+68h] __int64 v29; // [xsp+80h] [xbp+70h] v7 = *((_DWORD *)a1 + 257); switch ( v7 ) { case 1811: v17 = *((_DWORD *)a1 + 420); v18 = *((unsigned int *)a1 + 460); v19 = *((unsigned int *)a1 + 366); v20 = *((unsigned __int8 *)a1 + 1637); v21 = *((unsigned int *)a1 + 461); if ( a4 ) { v22 = *((unsigned int *)a1 + 461); v24 = *((unsigned int *)a1 + 366); v26 = *((unsigned int *)a1 + 460); std::vector::vector((__int64 *)&v27, a4); v18 = v26; v19 = v24; v21 = v22; } else { v27 = nullptr; v28 = nullptr; v29 = 0; } GJBaseGameLayer::testInstantCountTrigger( this, v17, v18, v19, v20, v21, &v27, *((unsigned int *)a1 + 229), *((_DWORD *)a1 + 418)); v15 = v27; if ( v27 ) { v16 = v28; if ( v28 == v27 ) goto LABEL_10; goto LABEL_16; } break; case 1817: GJBaseGameLayer::addPickupTrigger(this, a1); return _stack_chk_guard; case 1611: v9 = *((_QWORD *)this + 269); v10 = *((_DWORD *)a1 + 420); v11 = *((unsigned int *)a1 + 460); v12 = *((unsigned __int8 *)a1 + 1848); v13 = *((unsigned int *)a1 + 366); v14 = *((unsigned __int8 *)a1 + 1637); if ( a4 ) { v23 = *((unsigned int *)a1 + 366); v25 = *((unsigned int *)a1 + 460); std::vector::vector((__int64 *)&v27, a4); v11 = v25; v13 = v23; } else { v27 = nullptr; v28 = nullptr; v29 = 0; } GJEffectManager::runCountTrigger( v9, v10, v11, v12, v13, v14, &v27, *((unsigned int *)a1 + 229), *((_DWORD *)a1 + 418)); v15 = v27; if ( v27 ) { v16 = v28; if ( v27 == v28 ) { LABEL_10: operator delete(v15); return _stack_chk_guard; } LABEL_16: v28 = &v16[4 * ~((unsigned __int64)(v16 - 4 - (_BYTE *)v15) >> 2)]; operator delete(v15); } break; default: EffectGameObject::triggerObject(a1, (GJEffectManager **)this, a3, a4); return _stack_chk_guard; } return _stack_chk_guard; }