// // GJBaseGameLayer::addPickupTrigger from 0x5bd0f0 to 0x5bd194 (164 bytes) // // 1 xrefs: // > CountTriggerGameObject::triggerObject @ 0x4f5854 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:53:43 +0000 // void __fastcall GJBaseGameLayer::addPickupTrigger(GJEffectManager **this, CountTriggerGameObject *a2) { int v3; // r3 unsigned int v5; // r5 int v6; // r0 int v7; // r1 int v8; // r2 GJEffectManager *v9; // r0 int v10; // r3 int v11; // r0 v3 = *((_DWORD *)a2 + 413); v5 = *((_DWORD *)a2 + 375); if ( v3 == 1 ) { GJEffectManager::countForItem(*(this + 381), *((_DWORD *)a2 + 375)); goto LABEL_6; } if ( v3 != 2 ) { v10 = *((unsigned __int8 *)a2 + 1657); v7 = *((_DWORD *)a2 + 375); v9 = *(this + 381); v8 = *((_DWORD *)a2 + 412); if ( !v10 ) { GJEffectManager::addCountToItem(v9, v7, v8); goto LABEL_10; } goto LABEL_8; } GJEffectManager::countForItem(*(this + 381), *((_DWORD *)a2 + 375)); if ( *((float *)a2 + 415) != 0.0 ) { LABEL_6: v6 = lroundf(); v7 = v5; v8 = v6; v9 = *(this + 381); LABEL_8: GJEffectManager::updateCountForItem(v9, v7, v8); } LABEL_10: v11 = GJEffectManager::countForItem(*(this + 381), v5); GJBaseGameLayer::updateCounters((GJBaseGameLayer *)this, v5, v11); }
GD Web Decomp Icon

GD Web Decomp

Raw Source