// // cocos2d::CCSpriteBatchNode::swap from 0x1001775a0 to 0x1001776c7 (295 bytes) // // 0 xrefs: // // 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 // void __fastcall cocos2d::CCSpriteBatchNode::swap(cocos2d::CCSpriteBatchNode *a1, int a2, int a3) { cocos2d::CCObject **arr; // r15 __int64 v6; // rax cocos2d::CCObject *v7; // rsi __int64 v8; // rdi cocos2d::CCObject *v9; // r8 __int64 v10; // r8 __int128 v11; // xmm0 __int128 v12; // xmm1 __int128 v13; // xmm2 __int128 v14; // [rsp+0h] [rbp-80h] __int128 v15; // [rsp+10h] [rbp-70h] __int128 v16; // [rsp+20h] [rbp-60h] __int128 v17; // [rsp+30h] [rbp-50h] __int128 v18; // [rsp+40h] [rbp-40h] __int128 v19; // [rsp+50h] [rbp-30h] arr = a1->m_pobDescendants->data->arr; v6 = ((__int64 (__fastcall *)(cocos2d::CCTextureAtlas *))a1->m_pobTextureAtlas->getQuads)(a1->m_pobTextureAtlas); v7 = arr[a2]; v8 = 96LL * a2; v19 = *(_OWORD *)(v6 + v8 + 80); v18 = *(_OWORD *)(v6 + v8 + 64); v17 = *(_OWORD *)(v6 + v8 + 48); v16 = *(_OWORD *)(v6 + v8 + 32); v15 = *(_OWORD *)(v6 + v8 + 16); v14 = *(_OWORD *)(v6 + v8); v9 = arr[a3]; v9[6].m_uAutoReleaseCount = a2; arr[a2] = v9; v10 = 96LL * a3; *(_OWORD *)(v6 + v8 + 80) = *(_OWORD *)(v6 + v10 + 80); *(_OWORD *)(v6 + v8 + 64) = *(_OWORD *)(v6 + v10 + 64); v11 = *(_OWORD *)(v6 + v10); v12 = *(_OWORD *)(v6 + v10 + 16); v13 = *(_OWORD *)(v6 + v10 + 32); *(_OWORD *)(v6 + v8 + 48) = *(_OWORD *)(v6 + v10 + 48); *(_OWORD *)(v6 + v8 + 32) = v13; *(_OWORD *)(v6 + v8 + 16) = v12; *(_OWORD *)(v6 + v8) = v11; arr[a3] = v7; *(_OWORD *)(v6 + v10 + 80) = v19; *(_OWORD *)(v6 + v10 + 64) = v18; *(_OWORD *)(v6 + v10 + 48) = v17; *(_OWORD *)(v6 + v10 + 32) = v16; *(_OWORD *)(v6 + v10 + 16) = v15; *(_OWORD *)(v6 + v10) = v14; arr[a2]->m_unknown2 = a2; arr[a3]->m_unknown2 = a3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source