//
// cocos2d::CCTMXLayer::positionForIsoAt from 0xb38f28 to 0xb38f9c (116 bytes)
//
// 2 xrefs:
// > cocos2d::CCTMXLayer::positionAt @ 0xb390fc
// > ??> @ 0x330f0
//
// 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 cocos2d::CCTMXLayer::positionForIsoAt(cocos2d::CCTMXLayer *a1, const cocos2d::CCPoint *a2)
{
cocos2d::CCPoint *v2; // x8
cocos2d::CCPoint result; // 0:s0.4,4:s1.4
cocos2d::CCPoint::CCPoint(
v2,
(float)(*((float *)&a1[1].cocos2d::CCSpriteBatchNode::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable
+ 1)
* 0.5)
* (float)((float)((float)(a2->x + *(float *)(&a1->m_bManualSortAllChildrenDirty + 3)) - a2->y) - 1.0),
(float)(*(float *)&a1[1].m_uID * 0.5)
* (float)((float)((float)-(float)(a2->x
- (float)(*(float *)&a1[1].cocos2d::CCSpriteBatchNode::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable
* 2.0))
- a2->y)
- 2.0));
return result;
}