//
// cocos2d::CCWavesTiles3D::update from 0x7c14f0 to 0x7c15ec (252 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
//
int __fastcall cocos2d::CCWavesTiles3D::update(int this, float a2)
{
int v2; // r4
int i; // r7
int v5; // r8
float v6; // s17
float v7; // s15
int v8; // r3
_BYTE v9[8]; // [sp+4h] [bp-40h] BYREF
float v10[2]; // [sp+Ch] [bp-38h] BYREF
float v11; // [sp+14h] [bp-30h]
float v12; // [sp+20h] [bp-24h]
float v13; // [sp+2Ch] [bp-18h]
float v14; // [sp+38h] [bp-Ch]
v2 = this;
for ( i = 0; (float)i < *(float *)(v2 + 80); ++i )
{
v5 = 0;
while ( 1 )
{
v6 = (float)v5;
if ( (float)v5 >= *(float *)(v2 + 84) )
break;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, (float)i, (float)v5);
cocos2d::CCTiledGrid3DAction::originalTile((cocos2d::CCTiledGrid3DAction *)v10, (const cocos2d::CCPoint *)v2);
++v5;
v7 = (float)(a2 * 3.1416) * (float)*(unsigned int *)(v2 + 88);
v11 = (float)(sinf((float)(v7 + v7) + (float)((float)(v10[1] + v10[0]) * 0.01)) * *(float *)(v2 + 92))
* *(float *)(v2 + 96);
v12 = v11;
v13 = v11;
v14 = v11;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, (float)i, v6);
this = cocos2d::CCTiledGrid3DAction::setTile(v2, (int)v9, (int)v10, v8);
}
}
return this;
}