// // cocos2d::CCTileMapAtlas::calculateItemsToRender from 0xdb08ec to 0xdb095c (112 bytes) // // 2 xrefs: // > cocos2d::CCTileMapAtlas::initWithTileFile @ 0xdb0a38 // > @ 0xfca90 // // 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:39 +0000 // __int64 __fastcall cocos2d::CCTileMapAtlas::calculateItemsToRender(__int64 this) { __int64 v1; // x3 int v2; // w5 int v3; // w6 int i; // w7 int j; // w2 int v6; // w1 v1 = *(_QWORD *)(this + 408); *(_DWORD *)(this + 424) = 0; v2 = *(__int16 *)(v1 + 6); if ( v2 > 0 ) { v3 = *(__int16 *)(v1 + 8); for ( i = 0; i < v2; ++i ) { for ( j = 0; v3 > j; ++j ) { v6 = i + v2 * j; if ( *(_BYTE *)(*(_QWORD *)(v1 + 16) + 3LL * v6) ) { ++*(_DWORD *)(this + 424); v3 = *(__int16 *)(v1 + 8); v2 = *(__int16 *)(v1 + 6); } } } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source