// // cocos2d::CCRipple3D::update from 0xd2ce98 to 0xd2d058 (448 bytes) // // 2 xrefs: // > @ 0xcc0a0 // > @ 0x15129d8 // // 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 13:07:18 +0000 // __int64 __fastcall cocos2d::CCRipple3D::update(cocos2d::CCRipple3D *this, float a2) { float v4; // s1 float v5; // s9 int v6; // w25 float v7; // s8 int v8; // w22 float v9; // s15 float v10; // s0 float v11; // s1 float v12; // s2 long double v13; // q0 const cocos2d::CCPoint *v14; // x1 float v15; // s0 float v16; // s8 float v17; // s0 float v18; // s8 float v19; // s0 __int64 v21; // [xsp+98h] [xbp+98h] BYREF _BYTE v22[8]; // [xsp+A0h] [xbp+A0h] BYREF _DWORD v23[2]; // [xsp+A8h] [xbp+A8h] BYREF float v24; // [xsp+B0h] [xbp+B0h] v4 = *((float *)this + 23); if ( (float)(v4 + 1.0) > 0.0 ) { v5 = 0.0; v6 = 0; v7 = *((float *)this + 24); do { if ( (float)(v7 + 1.0) > 0.0 ) { v8 = 0; v9 = 0.0; do { cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v22, v5, v9); cocos2d::CCGrid3DAction::originalVertex(this, (const cocos2d::CCPoint *)v22); *(float *)v23 = v10; *(float *)&v23[1] = v11; v24 = v12; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v22, v10, v11); cocos2d::CCPoint::operator-(&v21, (char *)this + 100, v22, v13); cocos2d::ccpLength((cocos2d *)&v21, v14); v16 = *((float *)this + 27); if ( v15 < v16 ) { v17 = v16 - v15; v18 = v17 / v16; v19 = sinf( (float)(v17 * 0.1) + (float)((float)((float)(a2 * 3.1416) * (float)*((unsigned int *)this + 28)) * 2.0)); v24 = v24 + (float)((float)((float)(v19 * *((float *)this + 29)) * *((float *)this + 30)) * (float)(v18 * v18)); } ++v8; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v22, v5, v9); cocos2d::CCGrid3DAction::setVertex((__int64)this, (__int64)v22, (__int64)v23); v7 = *((float *)this + 24); v9 = (float)v8; } while ( (float)v8 < (float)(v7 + 1.0) ); v4 = *((float *)this + 23); } v5 = (float)++v6; } while ( (float)v6 < (float)(v4 + 1.0) ); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source