// // CharacterColorPage::offsetForIndex from 0x10012a280 to 0x10012a2cc (76 bytes) // // 1 xrefs: // > CharacterColorPage::createColorMenu @ 0x100129bf4 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // cocos2d::CCPoint __fastcall CharacterColorPage::offsetForIndex(CharacterColorPage *a1, int a2) { _DWORD *v2; // x8 __n128 v3; // q0 __n128 v4; // q1 cocos2d::CCPoint result; // 0:s0.4,4:s1.4 v4.n128_u32[0] = 0; v3.n128_u32[0] = 0; if ( (unsigned int)(a2 - 4) <= 0x8A ) v3.n128_u32[0] = dword_1006372C0[a2 - 4]; if ( (unsigned int)(a2 - 54) < 0x52 ) v4.n128_f32[0] = -0.8; if ( a2 > 135 ) v4.n128_f32[0] = 0.4; sub_100022980(v3, v4, v2); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source