// // cocos2d::CCTMXLayer::positionForHexAt from 0xdab82c to 0xdab8b4 (136 bytes) // // 2 xrefs: // > cocos2d::CCTMXLayer::positionAt @ 0xdab9cc // > @ 0xf1690 // // 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 13:08:35 +0000 // float *__usercall cocos2d::CCTMXLayer::positionForHexAt@( cocos2d::CCTMXLayer *this@, const cocos2d::CCPoint *a2@, float *a3@) { float v3; // s1 float v4; // s3 v3 = *((float *)this + 92); v4 = 0.0; if ( (int)*(float *)a2 % 2 == 1 ) v4 = v3 * -0.5; cocos2d::CCPoint::CCPoint( a3, (float)((float)(*(float *)a2 * *((float *)this + 91)) * 3.0) * 0.25, v4 + (float)((float)((float)(*((float *)this + 90) - *((float *)a2 + 1)) - 1.0) * v3)); return a3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source