// // cocos2d::CCTMXLayer::positionForHexAt from 0x1800ac8e0 to 0x1800ac96a (138 bytes) // // 2 xrefs: // > @ 0x1801438a8 // > @ 0x1801b8148 // // 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 // struct cocos2d::CCPoint *__fastcall cocos2d::CCTMXLayer::positionForHexAt( cocos2d::CCTMXLayer *this, struct cocos2d::CCPoint *a2, float *a3) { float v4; // xmm0_4 v4 = 0.0; if ( (int)*a3 % 2 == 1 ) v4 = (float)-*((float *)this + 93) * 0.5; kmVec2Fill( (float *)a2, (float)((float)(*a3 * *((float *)this + 92)) * 3.0) * 0.25, (float)((float)((float)(*((float *)this + 91) - a3[1]) - 1.0) * *((float *)this + 93)) + v4); return a2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source