// // EffectGameObject::getTargetColorIndex from 0x877248 to 0x8772b0 (104 bytes) // // 3 xrefs: // > ColorSelectPopup::updateCopyColor @ 0x863138 // > ColorSelectPopup::updateCopyColor @ 0x86317c // > @ 0xa8340 // // 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::getTargetColorIndex(EffectGameObject *this) { int v1; // w1 __int64 result; // x0 v1 = *((_DWORD *)this + 257); if ( v1 == 105 ) return 1004; if ( v1 <= 105 ) { result = 1000; if ( v1 != 29 ) { result = 1001; if ( v1 != 30 ) return *((unsigned int *)this + 256); } } else { if ( v1 == 900 ) return 1009; result = 1002; if ( v1 != 915 ) { result = 1003; if ( v1 != 744 ) return *((unsigned int *)this + 256); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source