// // EffectGameObject::updateSpeedModType from 0x8774c4 to 0x8775cc (264 bytes) // // 3 xrefs: // > PlayLayer::addObject @ 0x6f4334 // > DrawGridLayer::addToSpeedObjects @ 0x790078 // > @ 0x586d8 // // 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:55:50 +0000 // __int64 __fastcall EffectGameObject::updateSpeedModType(__int64 this) { int v1; // w2 __int16 v2; // w1 __int16 v3; // w1 __int16 v4; // w1 __int16 v5; // w1 __int16 v6; // w1 v1 = *(_DWORD *)(this + 1028); if ( v1 == 1934 ) { if ( *(_BYTE *)(this + 1780) ) v5 = -1; else v5 = -3; *(_WORD *)(this + 1782) = v5; } else if ( v1 > 1934 ) { if ( v1 != 2902 ) { if ( v1 <= 2902 ) { v2 = -2; if ( v1 == 1935 || (v2 = -4, v1 == 2900) ) { LABEL_7: if ( *(_BYTE *)(this + 1780) ) v2 = -1; *(_WORD *)(this + 1782) = v2; return this; } goto LABEL_14; } if ( v1 != 3022 && v1 != 3027 ) { LABEL_14: if ( *(_BYTE *)(this + 1780) ) v3 = -1; else v3 = 0; *(_WORD *)(this + 1782) = v3; return this; } } if ( *(_BYTE *)(this + 1780) ) v6 = -1; else v6 = -5; *(_WORD *)(this + 1782) = v6; } else { if ( v1 != 203 ) { if ( v1 > 203 ) { v2 = 4; if ( v1 == 1334 ) goto LABEL_7; if ( v1 == 1917 ) { *(_WORD *)(this + 1782) = -1; return this; } } else { v2 = 1; if ( v1 == 200 ) goto LABEL_7; v2 = 2; if ( v1 == 202 ) goto LABEL_7; } goto LABEL_14; } if ( *(_BYTE *)(this + 1780) ) v4 = -1; else v4 = 3; *(_WORD *)(this + 1782) = v4; } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source