// // CCCircleWave::draw from 0x1001fa990 to 0x1001faac8 (312 bytes) // // 1 xrefs: // > @ 0x1008f5038 // // 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:00:42 +0000 // __int64 __fastcall CCCircleWave::draw(__int64 a1) { float v2; // s0 int v3; // w8 _BOOL4 v4; // w9 int v5; // w8 float v6; // s0 __int64 v7; // x1 int v8; // w10 unsigned int v9; // w9 __int64 result; // x0 if ( *(_BYTE *)(a1 + 364) == 1 ) cocos2d::ccGLBlendFunc(770, 1); if ( *(_DWORD *)(a1 + 352) ) glLineWidth((float)*(int *)(a1 + 356)); v2 = *(float *)(a1 + 336) * *(float *)(a1 + 360); v3 = v2 > 0.0; v4 = v2 >= 255.0; if ( v2 < 255.0 ) v3 = 0; if ( v2 <= 0.0 ) v4 = 1; v5 = v3 << 31 >> 31; if ( !v4 ) LOBYTE(v5) = (int)v2; cocos2d::ccDrawColor4B( *(unsigned __int8 *)(a1 + 340), *(unsigned __int8 *)(a1 + 341), *(unsigned __int8 *)(a1 + 342), (unsigned __int8)v5); v6 = *(float *)(a1 + 332); if ( v6 >= 10.0 ) { if ( v6 >= 200.0 ) v8 = 50; else v8 = 30; if ( v6 >= 40.0 ) v9 = v8; else v9 = 20; if ( v6 >= 20.0 ) v7 = v9; else v7 = 15; } else { v7 = 10; } if ( *(_DWORD *)(a1 + 352) ) result = cocos2d::ccDrawCircle_1(a1 + 344, v7, 0, v6, 0.0); else result = cocos2d::ccDrawFilledCircle(a1 + 344, v7, v6, 0.0); if ( *(_BYTE *)(a1 + 364) == 1 ) return cocos2d::ccGLBlendFunc(1, 771); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source