// // ItemTriggerGameObject::triggerObject from 0x1404bfcf0 to 0x1404bfe43 (339 bytes) // // 2 xrefs: // > @ 0x140612408 // > @ 0x1406dcecc // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // // Hidden C++ exception states: #wind=2 void ItemTriggerGameObject::triggerObject( ItemTriggerGameObject *a1, GJBaseGameLayer *a2, int a3, std::vector *const a4) { std::vector *v6; // rax char v7; // bl void *v8; // rcx void *Block[2]; // [rsp+20h] [rbp-38h] BYREF __int64 v10; // [rsp+30h] [rbp-28h] _QWORD v11[4]; // [rsp+38h] [rbp-20h] BYREF switch ( a1->m_objectID ) { case 0xE23: GJBaseGameLayer::activateItemEditTrigger(a2, a1); break; case 0xE24: if ( a4 ) { v6 = (std::vector *)sub_14024B270(v11, (__int64)a4); v7 = 1; } else { *(_OWORD *)Block = 0; v10 = 0; v6 = (std::vector *)Block; v7 = 2; } GJBaseGameLayer::activateItemCompareTrigger(a2, a1, v6); if ( (v7 & 2) != 0 ) { v7 &= ~2u; v8 = Block[0]; if ( Block[0] ) { if ( (unsigned __int64)(4 * ((signed __int64)(v10 - (unsigned __int64)Block[0]) >> 2)) >= 0x1000 ) { v8 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v8 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v8); *(_OWORD *)Block = 0; v10 = 0; } } if ( (v7 & 1) != 0 ) sub_14005E430((__int64)v11); break; case 0xE39: GJBaseGameLayer::activatePersistentItemTrigger(a2, a1); break; default: EffectGameObject::triggerObject(a1, a2, a3, a4); break; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source