// // cocos2d::CCShaky3D::update from 0xd2d060 to 0xd2d200 (416 bytes) // // 2 xrefs: // > @ 0x84b08 // > @ 0x1512a78 // // 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::CCShaky3D::update(cocos2d::CCShaky3D *this, float a2) { float v2; // s2 float v4; // s9 int v5; // w23 float v6; // s0 int v7; // w22 float v8; // s8 float v9; // s0 float v10; // s1 float v11; // s2 int v12; // w0 int v13; // w4 _BYTE v15[8]; // [xsp+60h] [xbp+60h] BYREF float v16; // [xsp+68h] [xbp+68h] BYREF float v17; // [xsp+6Ch] [xbp+6Ch] float v18; // [xsp+70h] [xbp+70h] v2 = *((float *)this + 23); if ( (float)(v2 + 1.0) > 0.0 ) { v4 = 0.0; v5 = 0; v6 = *((float *)this + 24); do { v7 = 0; v8 = 0.0; if ( (float)(v6 + 1.0) > 0.0 ) { do { cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v15, v4, v8); cocos2d::CCGrid3DAction::originalVertex(this, (const cocos2d::CCPoint *)v15); v16 = v9; v17 = v10; v18 = v11; v16 = v9 + (float)(rand() % (2 * *((_DWORD *)this + 25)) - *((_DWORD *)this + 25)); v12 = rand(); v13 = *((unsigned __int8 *)this + 104); v17 = v17 + (float)(v12 % (2 * *((_DWORD *)this + 25)) - *((_DWORD *)this + 25)); if ( v13 ) v18 = v18 + (float)(rand() % (2 * *((_DWORD *)this + 25)) - *((_DWORD *)this + 25)); ++v7; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v15, v4, v8); cocos2d::CCGrid3DAction::setVertex((__int64)this, (__int64)v15, (__int64)&v16); v6 = *((float *)this + 24); v8 = (float)v7; } while ( (float)v7 < (float)(v6 + 1.0) ); v2 = *((float *)this + 23); } v4 = (float)++v5; } while ( (float)v5 < (float)(v2 + 1.0) ); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source