// // GJBaseGameLayer::updateActiveEnterEffect from 0x5abe70 to 0x5abf6c (252 bytes) // // 1 xrefs: // > EffectGameObject::triggerObject @ 0x4f5414 // // 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:26 +0000 // void __fastcall GJBaseGameLayer::updateActiveEnterEffect(GJBaseGameLayer *this, EnterEffectObject *a2) { int v3; // r3 int v5; // r4 v3 = *((_DWORD *)a2 + 223); if ( v3 == 55 ) { v5 = -11; goto LABEL_31; } if ( v3 <= 55 ) { if ( v3 == 25 ) { v5 = -7; goto LABEL_31; } if ( v3 > 25 ) { if ( v3 == 27 ) { v5 = -3; goto LABEL_31; } if ( v3 < 27 ) { v5 = -8; goto LABEL_31; } if ( v3 == 28 ) { v5 = -4; goto LABEL_31; } } else { if ( v3 == 23 ) { v5 = -6; goto LABEL_31; } if ( v3 == 24 ) { v5 = -5; goto LABEL_31; } } LABEL_30: v5 = -2; goto LABEL_31; } if ( v3 == 59 ) { v5 = -13; goto LABEL_31; } if ( v3 > 59 ) { if ( v3 == 1915 ) { v5 = -14; goto LABEL_31; } if ( v3 >= 1915 && (unsigned int)(v3 - 3017) <= 4 ) { v5 = -15; goto LABEL_31; } goto LABEL_30; } if ( v3 == 57 ) { v5 = -9; } else if ( v3 <= 57 ) { v5 = -10; } else { v5 = -12; } LABEL_31: if ( *((_DWORD *)a2 + 412) <= 1u ) { *(_DWORD *)(*((_DWORD *)this + 284) + 4 * *((_DWORD *)a2 + 460)) = v5; if ( v5 == -15 ) GJBaseGameLayer::addCustomEnterEffect(this, a2, 1); else GJBaseGameLayer::removeCustomEnterEffects((unsigned int)this, *((_DWORD *)a2 + 460), 1u); } if ( (*((_DWORD *)a2 + 412) & 0xFFFFFFFD) == 0 ) { *(_DWORD *)(*((_DWORD *)this + 287) + 4 * *((_DWORD *)a2 + 460)) = v5; if ( v5 == -15 ) GJBaseGameLayer::addCustomEnterEffect(this, a2, 0); else GJBaseGameLayer::removeCustomEnterEffects((unsigned int)this, *((_DWORD *)a2 + 460), 0); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source