// // CCCircleWave::draw from 0x6c6880 to 0x6c69b0 (304 bytes) // // 3 xrefs: // > @ 0x75c88 // > @ 0x1420818 // > @ 0x1420ba8 // // 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 12:51:21 +0000 // __int64 __fastcall CCCircleWave::draw(CCCircleWave *this, __int64 a2, unsigned int a3, __int64 a4, unsigned __int8 a5) { float v6; // s0 unsigned __int8 v7; // w3 unsigned int v8; // w2 bool v9; // w3 float v10; // s0 const cocos2d::CCPoint *v11; // x1 unsigned int v12; // w2 __int64 result; // x0 if ( *((_BYTE *)this + 364) ) { cocos2d::ccGLBlendFunc((cocos2d *)((char *)&elf_hash_bucket[66] + 2), 1u, a3); if ( !*((_DWORD *)this + 88) ) goto LABEL_3; } else if ( !*((_DWORD *)this + 88) ) { goto LABEL_3; } glLineWidth(); LABEL_3: v6 = *((float *)this + 84) * *((float *)this + 90); if ( v6 <= 0.0 ) { v7 = 0; } else if ( v6 < 255.0 ) { v7 = (unsigned int)v6; } else { v7 = -1; } cocos2d::ccDrawColor4B( (cocos2d *)*((unsigned __int8 *)this + 340), *((_BYTE *)this + 341), *((_BYTE *)this + 342), v7, a5); v10 = *((float *)this + 83); v11 = (const cocos2d::CCPoint *)(byte_9 + 1); if ( v10 >= 10.0 ) { v11 = (const cocos2d::CCPoint *)&byte_9[6]; if ( v10 >= 20.0 ) { v11 = (const cocos2d::CCPoint *)&dword_14; if ( v10 >= 40.0 ) { if ( v10 >= 200.0 ) v11 = (const cocos2d::CCPoint *)(&dword_30 + 2); else v11 = (const cocos2d::CCPoint *)(&off_18 + 6); } } } if ( !*((_DWORD *)this + 88) ) { cocos2d::ccDrawFilledCircle((CCCircleWave *)((char *)this + 344), v11, v10, 0.0, v8); result = *((unsigned __int8 *)this + 364); if ( !*((_BYTE *)this + 364) ) return result; return cocos2d::ccGLBlendFunc((cocos2d *)((char *)&dword_0 + 1), 0x303u, v12); } cocos2d::ccDrawCircle((CCCircleWave *)((char *)this + 344), v11, v10, 0.0, 0, v9); result = *((unsigned __int8 *)this + 364); if ( *((_BYTE *)this + 364) ) return cocos2d::ccGLBlendFunc((cocos2d *)((char *)&dword_0 + 1), 0x303u, v12); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source