// // cocos2d::CCTMXLayer::removeTileAt from 0xdac564 to 0xdac680 (284 bytes) // // 2 xrefs: // > cocos2d::CCTMXLayer::setTileGID @ 0xdac84c // > @ 0xa3798 // // 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 // cocos2d::CCTextureAtlas **__fastcall cocos2d::CCTMXLayer::removeTileAt( cocos2d::CCTMXLayer *this, const cocos2d::CCPoint *a2) { cocos2d::CCTextureAtlas **result; // x0 unsigned int v5; // w20 unsigned int v6; // w21 cocos2d::CCNode *v7; // x1 unsigned int v8; // w1 unsigned __int64 i; // x3 cocos2d::CCTextureAtlas *v10; // x2 unsigned int v11; // w1 bool v12; // cc unsigned int v13; // w1 result = (cocos2d::CCTextureAtlas **)cocos2d::CCTMXLayer::tileGIDAt(this, a2); if ( (_DWORD)result ) { v5 = (unsigned int)(float)(*(float *)a2 + (float)(*((float *)a2 + 1) * *((float *)this + 89))); v6 = cocos2d::CCTMXLayer::atlasIndexForExistantZ(this, v5); *(_DWORD *)(*((_QWORD *)this + 47) + 4LL * v5) = 0; cocos2d::ccCArrayRemoveValueAtIndex(*((unsigned int **)this + 58), v6); v7 = (cocos2d::CCNode *)(*(__int64 (__fastcall **)(cocos2d::CCTMXLayer *, _QWORD))(*(_QWORD *)this + 480LL))( this, v5); if ( v7 ) { return cocos2d::CCSpriteBatchNode::removeChild((cocos2d::CCTextureAtlas **)this, v7, 1u); } else { cocos2d::CCTextureAtlas::removeQuadAtIndex(*((cocos2d::CCTextureAtlas **)this + 41), v6); result = *((cocos2d::CCTextureAtlas ***)this + 26); if ( result ) { result = (cocos2d::CCTextureAtlas **)cocos2d::CCArray::count((cocos2d::CCArray *)result); if ( (_DWORD)result ) { result = *((cocos2d::CCTextureAtlas ***)this + 26); if ( result ) { result = (cocos2d::CCTextureAtlas **)result[7]; v8 = *(_DWORD *)result; if ( *(_DWORD *)result ) { result = (cocos2d::CCTextureAtlas **)result[2]; for ( i = (unsigned __int64)&result[v8 - 1]; i >= (unsigned __int64)result; ++result ) { v10 = *result; if ( !*result ) break; v11 = *((_DWORD *)v10 + 90); v12 = v6 > v11; v13 = v11 - 1; if ( !v12 ) *((_DWORD *)v10 + 90) = v13; } } } } } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source