// // cocos2d::CCTMXLayer::reusedTileWithRect from 0x803b60 to 0x803bd2 (114 bytes) // // 3 xrefs: // > cocos2d::CCTMXLayer::insertTileForGID @ 0x8041c6 // > cocos2d::CCTMXLayer::updateTileForGID @ 0x8042fa // > cocos2d::CCTMXLayer::appendTileForGID @ 0x80440c // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 12:01:22 +0000 // int __fastcall cocos2d::CCTMXLayer::reusedTileWithRect(int a1, int a2) { int v3; // r5 cocos2d::CCSprite *v5; // r6 void (__fastcall *v6)(cocos2d::CCSprite *, int, int, _DWORD); // r8 int v7; // r0 v3 = *(_DWORD *)(a1 + 352); if ( v3 ) { (*(void (__fastcall **)(_DWORD, _DWORD))(*(_DWORD *)v3 + 560))(*(_DWORD *)(a1 + 352), 0); (*(void (__fastcall **)(_DWORD, int, _DWORD, int))(**(_DWORD **)(a1 + 352) + 572))( *(_DWORD *)(a1 + 352), a2, 0, a2 + 8); } else { v5 = (cocos2d::CCSprite *)operator new(0x1FCu); cocos2d::CCSprite::CCSprite(v5); *(_DWORD *)(a1 + 352) = v5; v6 = *(void (__fastcall **)(cocos2d::CCSprite *, int, int, _DWORD))(*(_DWORD *)v5 + 512); v7 = (*(int (__fastcall **)(_DWORD))(**(_DWORD **)(a1 + 268) + 48))(*(_DWORD *)(a1 + 268)); v6(v5, v7, a2, 0); } (*(void (__fastcall **)(_DWORD, int))(**(_DWORD **)(a1 + 352) + 560))(*(_DWORD *)(a1 + 352), a1); return *(_DWORD *)(a1 + 352); }
GD Web Decomp Icon

GD Web Decomp

Raw Source