// // cocos2d::CCJumpTiles3D::update from 0x7c15f8 to 0x7c174e (342 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:20 +0000 // float __fastcall cocos2d::CCJumpTiles3D::update(cocos2d::CCJumpTiles3D *this, float a2) { int v3; // r6 float v5; // s19 float v6; // r0 float v7; // s16 float v8; // s20 float v9; // s18 float result; // r0 float v11; // s18 float v12; // s16 int v13; // r8 float v14; // s19 float v15; // s15 int v16; // r3 _BYTE v17[8]; // [sp+4h] [bp+0h] BYREF _BYTE v18[8]; // [sp+Ch] [bp+8h] BYREF float v19; // [sp+14h] [bp+10h] float v20; // [sp+20h] [bp+1Ch] float v21; // [sp+2Ch] [bp+28h] float v22; // [sp+38h] [bp+34h] v3 = 0; v5 = (float)*((unsigned int *)this + 22); v6 = sinf((float)((float)(a2 * 3.1416) * v5) + (float)((float)(a2 * 3.1416) * v5)); v7 = *((float *)this + 23); v8 = *((float *)this + 24); v9 = v6 * v7; result = sinf((float)((float)((float)(a2 * v5) + (float)(a2 * v5)) + 1.0) * 3.1416); v11 = v9 * v8; v12 = (float)(result * v7) * v8; while ( (float)v3 < *((float *)this + 20) ) { v13 = 0; while ( 1 ) { v14 = (float)v13; if ( (float)v13 >= *((float *)this + 21) ) break; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v17, (float)v3, (float)v13); cocos2d::CCTiledGrid3DAction::originalTile((cocos2d::CCTiledGrid3DAction *)v18, this); if ( ((v13 + v3) & 1) != 0 ) { v19 = v19 + v12; v20 = v20 + v12; v15 = v22 + v12; v21 = v21 + v12; } else { v19 = v19 + v11; v20 = v20 + v11; v21 = v21 + v11; v15 = v22 + v11; } ++v13; v22 = v15; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v17, (float)v3, v14); result = COERCE_FLOAT(cocos2d::CCTiledGrid3DAction::setTile((int)this, (int)v17, (int)v18, v16)); } ++v3; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source