// // cocos2d::CCShaky3D::update from 0x7ba8c8 to 0x7ba9e6 (286 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:00:15 +0000 // int __fastcall cocos2d::CCShaky3D::update(int this, float a2) { int v2; // r4 int i; // r8 int j; // r9 float v5; // s17 int v6; // r0 int v7; // r3 int v8; // r3 _BYTE v9[8]; // [sp+0h] [bp-18h] BYREF float v10; // [sp+8h] [bp-10h] BYREF float v11; // [sp+Ch] [bp-Ch] float v12; // [sp+10h] [bp-8h] v2 = this; for ( i = 0; (float)i < (float)(*(float *)(v2 + 80) + 1.0); ++i ) { for ( j = 0; ; ++j ) { v5 = (float)j; if ( (float)j >= (float)(*(float *)(v2 + 84) + 1.0) ) break; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, (float)i, (float)j); cocos2d::CCGrid3DAction::originalVertex((cocos2d::CCGrid3DAction *)&v10, (const cocos2d::CCPoint *)v2); v10 = v10 + (float)(rand() % (2 * *(_DWORD *)(v2 + 88)) - *(_DWORD *)(v2 + 88)); v6 = rand(); v7 = *(unsigned __int8 *)(v2 + 92); v11 = v11 + (float)(v6 % (2 * *(_DWORD *)(v2 + 88)) - *(_DWORD *)(v2 + 88)); if ( v7 ) v12 = v12 + (float)(rand() % (2 * *(_DWORD *)(v2 + 88)) - *(_DWORD *)(v2 + 88)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, (float)i, v5); this = cocos2d::CCGrid3DAction::setVertex(v2, (int)v9, (int)&v10, v8); } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source