// // cocos2d::CCTMXLayer::vertexZForPos from 0x1800ad7e0 to 0x1800ad853 (115 bytes) // // 4 xrefs: // > cocos2d::CCTMXLayer::setupTileSprite @ 0x1800ad03d // > cocos2d::CCTMXLayer::tileAt @ 0x1800ad553 // > @ 0x1801438a8 // > @ 0x1801b828c // // 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 // __int64 __fastcall cocos2d::CCTMXLayer::vertexZForPos(cocos2d::CCTMXLayer *this, const struct cocos2d::CCPoint *a2) { int v2; // eax if ( !*((_BYTE *)this + 456) ) return *((unsigned int *)this + 113); v2 = *((_DWORD *)this + 98); if ( !v2 ) return (unsigned int)(int)(float)-(float)(*((float *)this + 91) - a2->y); if ( v2 == 2 ) return (unsigned int)(int)(float)-(float)((float)(int)(float)(*((float *)this + 91) + *((float *)this + 90)) - (float)(a2->y + a2->x)); return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source