// // cocos2d::CCParticleSystem::updateBlendFunc from 0x100229390 to 0x1002293f8 (104 bytes) // // 2 xrefs: // > @ 0x1008ff088 // > @ 0x1009282e8 // // 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 11:01:12 +0000 // double __fastcall cocos2d::CCParticleSystem::updateBlendFunc(__int64 a1) { __int64 v2; // x0 int hasPremultipliedAlpha; // w0 double result; // d0 v2 = *(_QWORD *)(a1 + 664); if ( v2 ) { hasPremultipliedAlpha = cocos2d::CCTexture2D::hasPremultipliedAlpha(v2); *(_BYTE *)(a1 + 680) = 0; if ( *(_QWORD *)(a1 + 664) ) { if ( *(_DWORD *)(a1 + 672) == 1 && *(_DWORD *)(a1 + 676) == 771 ) { if ( hasPremultipliedAlpha ) { *(_BYTE *)(a1 + 680) = 1; } else { *(_QWORD *)(a1 + 672) = 0x30300000302LL; *(_QWORD *)&result = 0x30300000302LL; } } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source