// // cocos2d::CCTMXLayer::positionForHexAt from 0x1800b0100 to 0x1800b018a (138 bytes) // // 2 xrefs: // > @ 0x18014cf68 // > @ 0x1801c240c // // This function is hookable on this platform (idp: pc, 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 11:22:19 +0000 // float *__fastcall cocos2d::CCTMXLayer::positionForHexAt(float *a1, float *a2, float *a3) { float v4; // xmm0_4 v4 = 0.0; if ( (int)*a3 % 2 == 1 ) v4 = (float)-a1[93] * 0.5; kmVec2Fill( a2, (float)((float)(*a3 * a1[92]) * 3.0) * 0.25, (float)((float)((float)(a1[91] - a3[1]) - 1.0) * a1[93]) + v4); return a2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source