// // cocos2d::CCSpriteBatchNode::swap from 0x7f2416 to 0x7f2486 (112 bytes) // // 4 xrefs: // > cocos2d::CCSpriteBatchNode::updateAtlasIndex @ 0x7f24f2 // > cocos2d::CCSpriteBatchNode::updateAtlasIndex @ 0x7f2540 // > cocos2d::CCSpriteBatchNode::updateAtlasIndex @ 0x7f2574 // > cocos2d::CCSpriteBatchNode::removeSpriteFromAtlas @ 0x7f2b68 // // 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:05 +0000 // void *__fastcall cocos2d::CCSpriteBatchNode::swap(cocos2d::CCSpriteBatchNode *this, int a2, int a3) { int v5; // r4 int v6; // r0 int v7; // r11 void *v8; // r10 void *v9; // r8 void *result; // r0 _BYTE v11[96]; // [sp+0h] [bp-64h] BYREF v5 = *(_DWORD *)(*(_DWORD *)(*((_DWORD *)this + 70) + 52) + 12); v6 = (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 67) + 56))(*((_DWORD *)this + 67)); v7 = *(_DWORD *)(v5 + 4 * a2); v8 = (void *)(v6 + 96 * a2); v9 = (void *)(v6 + 96 * a3); memcpy(v11, v8, sizeof(v11)); *(_DWORD *)(*(_DWORD *)(v5 + 4 * a3) + 288) = a2; *(_DWORD *)(v5 + 4 * a2) = *(_DWORD *)(v5 + 4 * a3); memcpy(v8, v9, 0x60u); *(_DWORD *)(v5 + 4 * a3) = v7; result = memcpy(v9, v11, 0x60u); *(_DWORD *)(*(_DWORD *)(v5 + 4 * a2) + 36) = a2; *(_DWORD *)(*(_DWORD *)(v5 + 4 * a3) + 36) = a3; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source