// // cocos2d::CCSpriteBatchNode::swap from 0x100156950 to 0x100156a77 (295 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: pc, 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 12:25:04 +0000 // __int64 __fastcall cocos2d::CCSpriteBatchNode::swap(__int64 a1, int a2, int a3) { __int64 v5; // r15 __int64 v6; // rax __int64 v7; // rsi __int64 v8; // rdi __int64 v9; // r8 __int64 v10; // r8 __int128 v11; // xmm0 __int128 v12; // xmm1 __int128 v13; // xmm2 __int64 result; // rax __int128 v15; // [rsp+0h] [rbp-80h] __int128 v16; // [rsp+10h] [rbp-70h] __int128 v17; // [rsp+20h] [rbp-60h] __int128 v18; // [rsp+30h] [rbp-50h] __int128 v19; // [rsp+40h] [rbp-40h] __int128 v20; // [rsp+50h] [rbp-30h] v5 = *(_QWORD *)(*(_QWORD *)(*(_QWORD *)(a1 + 344) + 56LL) + 16LL); v6 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 328) + 112LL))(*(_QWORD *)(a1 + 328)); v7 = *(_QWORD *)(v5 + 8LL * a2); v8 = 96LL * a2; v20 = *(_OWORD *)(v6 + v8 + 80); v19 = *(_OWORD *)(v6 + v8 + 64); v18 = *(_OWORD *)(v6 + v8 + 48); v17 = *(_OWORD *)(v6 + v8 + 32); v16 = *(_OWORD *)(v6 + v8 + 16); v15 = *(_OWORD *)(v6 + v8); v9 = *(_QWORD *)(v5 + 8LL * a3); *(_DWORD *)(v9 + 360) = a2; *(_QWORD *)(v5 + 8LL * 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; *(_QWORD *)(v5 + 8LL * a3) = v7; *(_OWORD *)(v6 + v10 + 80) = v20; *(_OWORD *)(v6 + v10 + 64) = v19; *(_OWORD *)(v6 + v10 + 48) = v18; *(_OWORD *)(v6 + v10 + 32) = v17; *(_OWORD *)(v6 + v10 + 16) = v16; *(_OWORD *)(v6 + v10) = v15; *(_DWORD *)(*(_QWORD *)(v5 + 8LL * a2) + 40LL) = a2; result = *(_QWORD *)(v5 + 8LL * a3); *(_DWORD *)(result + 40) = a3; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source