// // cocos2d::CCSpriteBatchNode::updateQuadFromSprite from 0x100157560 to 0x100157635 (213 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::updateQuadFromSprite(__int64 a1, _DWORD *a2, unsigned int a3) { int v4; // r12d unsigned int v5; // r12d while ( 1 ) { if ( (*(unsigned int (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 328) + 88LL))(*(_QWORD *)(a1 + 328)) > a3 ) { v4 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 328) + 88LL))(*(_QWORD *)(a1 + 328)); if ( v4 != (*(unsigned int (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 328) + 80LL))(*(_QWORD *)(a1 + 328)) ) break; } v5 = (4 * (*(unsigned int (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 328) + 88LL))(*(_QWORD *)(a1 + 328)) + 4) / 3; if ( (*(unsigned int (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 328) + 88LL))(*(_QWORD *)(a1 + 328)) < v5 ) cocos2d::CCTextureAtlas::resizeCapacity(*(_QWORD *)(a1 + 328), v5); } (*(void (__fastcall **)(_DWORD *, __int64))(*(_QWORD *)a2 + 1120LL))(a2, a1); a2[90] = a3; (*(void (__fastcall **)(_DWORD *, __int64))(*(_QWORD *)a2 + 1200LL))(a2, 1); return (*(__int64 (__fastcall **)(_DWORD *))(*(_QWORD *)a2 + 792LL))(a2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source