// // cocos2d::CCSpriteBatchNode::swap from 0xd8873c to 0xd8882c (240 bytes) // // 5 xrefs: // > cocos2d::CCSpriteBatchNode::updateAtlasIndex @ 0xd888f0 // > cocos2d::CCSpriteBatchNode::updateAtlasIndex @ 0xd88950 // > cocos2d::CCSpriteBatchNode::updateAtlasIndex @ 0xd889f8 // > cocos2d::CCSpriteBatchNode::removeSpriteFromAtlas @ 0xd89658 // > @ 0xa9ac8 // // 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:14 +0000 // __int64 __fastcall cocos2d::CCSpriteBatchNode::swap(cocos2d::CCSpriteBatchNode *this, int a2, int a3) { __int64 v3; // x19 __int64 v4; // x0 __int64 v5; // x18 __int64 *v6; // x3 __int64 *v7; // x0 __int64 v8; // x16 __int64 v9; // x17 __int64 v10; // x14 __int64 v11; // x15 __int64 v12; // x10 __int64 v13; // x11 __int64 v14; // x8 __int64 v15; // x9 __int64 v16; // x6 __int64 v17; // x7 __int64 v18; // x4 __int64 v19; // x5 __int64 v20; // x13 __int64 v21; // x13 __int64 v22; // x13 __int64 v23; // x13 __int64 v24; // x13 __int64 v25; // x13 __int64 result; // x0 v3 = *(_QWORD *)(*(_QWORD *)(*((_QWORD *)this + 43) + 56LL) + 16LL); v4 = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 41) + 112LL))(*((_QWORD *)this + 41)); v5 = *(_QWORD *)(v3 + 8LL * a2); v6 = (__int64 *)(v4 + 96LL * a2); v7 = (__int64 *)(v4 + 96LL * a3); v8 = *v6; v9 = v6[1]; v10 = v6[2]; v11 = v6[3]; v12 = v6[4]; v13 = v6[5]; v14 = v6[6]; v15 = v6[7]; v16 = v6[8]; v17 = v6[9]; v18 = v6[10]; v19 = v6[11]; *(_DWORD *)(*(_QWORD *)(v3 + 8LL * a3) + 360LL) = a2; *(_QWORD *)(v3 + 8LL * a2) = *(_QWORD *)(v3 + 8LL * a3); v20 = v7[1]; *v6 = *v7; v6[1] = v20; v21 = v7[3]; v6[2] = v7[2]; v6[3] = v21; v22 = v7[5]; v6[4] = v7[4]; v6[5] = v22; v23 = v7[7]; v6[6] = v7[6]; v6[7] = v23; v24 = v7[9]; v6[8] = v7[8]; v6[9] = v24; v25 = v7[11]; v6[10] = v7[10]; v6[11] = v25; *(_QWORD *)(v3 + 8LL * a3) = v5; *v7 = v8; v7[1] = v9; v7[2] = v10; v7[3] = v11; v7[4] = v12; v7[5] = v13; v7[6] = v14; v7[7] = v15; v7[8] = v16; v7[9] = v17; v7[10] = v18; v7[11] = v19; *(_DWORD *)(*(_QWORD *)(v3 + 8LL * a2) + 40LL) = a2; result = *(_QWORD *)(v3 + 8LL * a3); *(_DWORD *)(result + 40) = a3; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source