// // ItemTriggerGameObject::triggerObject from 0x1001c6550 to 0x1001c6660 (272 bytes) // // 1 xrefs: // > @ 0x100ad8050 // // This function is hookable on this platform (idp: pc, 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:26:17 +0000 // void __fastcall ItemTriggerGameObject::triggerObject( unsigned int *a1, _QWORD *a2, __int64 a3, const void **a4, __m128 a5, double a6, double a7, __m128 a8, double a9, __m128 a10) { unsigned int v10; // eax const void *v11; // r14 signed __int64 v12; // r15 void *__p[2]; // [rsp+0h] [rbp-40h] BYREF char *v14; // [rsp+10h] [rbp-30h] v10 = a1[257]; switch ( v10 ) { case 0xE39u: GJBaseGameLayer::activatePersistentItemTrigger((__int64)a2, (__int64)a1); break; case 0xE24u: if ( a4 ) { *(_OWORD *)__p = 0; v14 = nullptr; v11 = *a4; v12 = (_BYTE *)a4[1] - (_BYTE *)*a4; if ( v12 ) { if ( v12 < 0 ) sub_100093980(); __p[0] = operator new(v12); v14 = (char *)__p[0] + v12; memcpy(__p[0], v11, v12); __p[1] = (char *)__p[0] + v12; } } else { *(_OWORD *)__p = 0; v14 = nullptr; } GJBaseGameLayer::activateItemCompareTrigger((__int64)a2, a1, (__int64)__p, 0.0, a6); if ( __p[0] ) { __p[1] = __p[0]; operator delete(__p[0]); } break; case 0xE23u: GJBaseGameLayer::activateItemEditTrigger((__int64)a2, a1, *(double *)a5.i64, a6, a7, a8, a9, a10); break; default: EffectGameObject::triggerObject((unsigned __int64)a1, a2, a3, (__int64)a4, a5); break; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source