// // cocos2d::CCSpriteBatchNode::setTexture from 0x100157370 to 0x1001573c1 (81 bytes) // // 4 xrefs: // > @ 0x100ac6838 // > @ 0x100af0658 // > @ 0x100b6aa68 // > @ 0x100b86fc8 // // 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::setTexture(__int64 a1) { __int64 v1; // rax bool v2; // zf __int64 result; // rax int v4; // ecx (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 328) + 104LL))(*(_QWORD *)(a1 + 328)); v1 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 328) + 96LL))(*(_QWORD *)(a1 + 328)); v2 = (unsigned __int8)cocos2d::CCTexture2D::hasPremultipliedAlpha(v1) == 0; result = 1; v4 = 770; if ( !v2 ) v4 = 1; *(_DWORD *)(a1 + 336) = v4; *(_DWORD *)(a1 + 340) = 771; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source