// // cocos2d::CCTMXLayer::reusedTileWithRect from 0x10025ac00 to 0x10025aca5 (165 bytes) // // 3 xrefs: // > cocos2d::CCTMXLayer::appendTileForGID @ 0x10025a5b1 // > cocos2d::CCTMXLayer::insertTileForGID @ 0x10025b143 // > cocos2d::CCTMXLayer::updateTileForGID @ 0x10025b31c // // 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::CCSprite *__fastcall cocos2d::CCTMXLayer::reusedTileWithRect(cocos2d::CCTMXLayer *a1, cocos2d::CCRect a2) { __int64 v2; // rsi __int64 v4; // rdi void *v5; // r15 __int64 v6; // rax v4 = *(_QWORD *)&a1[1].m_obAnchorPointInPoints.y; if ( v4 ) { (*(void (__fastcall **)(__int64, _QWORD, double, double))(*(_QWORD *)v4 + 1104LL))( v4, 0, *(double *)&a2.origin, *(double *)&a2.size); (*(void (__fastcall **)(_QWORD, __int64, _QWORD, __int64))(**(_QWORD **)&a1[1].m_obAnchorPointInPoints.y + 1128LL))( *(_QWORD *)&a1[1].m_obAnchorPointInPoints.y, v2, 0, v2 + 8); } else { v5 = operator new(0x258u); sub_1002881A0(v5, *(double *)&a2.origin); *(_QWORD *)&a1[1].m_obAnchorPointInPoints.y = v5; v6 = ((__int64 (__fastcall *)(cocos2d::CCTextureAtlas *, double, double))a1->m_pobTextureAtlas->getTexture)( a1->m_pobTextureAtlas, *(double *)&a2.origin, *(double *)&a2.size); (*(void (__fastcall **)(void *, __int64, __int64, _QWORD))(*(_QWORD *)v5 + 1008LL))(v5, v6, v2, 0); } (*(void (__fastcall **)(_QWORD, cocos2d::CCTMXLayer *))(**(_QWORD **)&a1[1].m_obAnchorPointInPoints.y + 1104LL))( *(_QWORD *)&a1[1].m_obAnchorPointInPoints.y, a1); return *(cocos2d::CCSprite **)&a1[1].m_obAnchorPointInPoints.y; }
GD Web Decomp Icon

GD Web Decomp

Raw Source