// // TextArea::update from 0x3d954c to 0x3d968e (322 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 11:46:46 +0000 // int __fastcall TextArea::update(int this, float a2) { int v2; // r9 int v3; // r3 int v4; // r4 int v5; // r6 cocos2d::CCArray *v6; // r10 int v7; // r4 float v8; // s15 int v9; // r0 float v10; // s16 int v11; // r0 _DWORD *v12; // r2 int *v13; // r4 int *v14; // r10 int v15; // r11 int v16; // t1 int v17; // r3 int (__fastcall *v18)(int, _BYTE *); // [sp+4h] [bp-20h] _BYTE v19[8]; // [sp+Ch] [bp-18h] BYREF _BYTE v20[8]; // [sp+14h] [bp-10h] BYREF v2 = this; v3 = *(_DWORD *)(this + 592); *(float *)(this + 596) = *(float *)(this + 596) + a2; if ( v3 ) { v4 = *(_DWORD *)(v3 + 52); if ( v4 ) v5 = *(_DWORD *)(v4 + 272); else v5 = 0; while ( v4 ) { v6 = *(cocos2d::CCArray **)(v4 + 260); this = cocos2d::CCArray::objectAtIndex(v6, 0); v7 = this; if ( this ) { v8 = *(float *)(v2 + 596); if ( v8 > *(float *)(this + 536) ) { *(float *)(this + 536) = v8 + *(float *)(this + 528); v9 = rand(); v10 = (float)((float)((float)((float)v9 * 4.6566e-10) + (float)((float)v9 * 4.6566e-10)) - 1.0) * *(float *)(v7 + 532); v11 = rand(); this = cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v19, v10 * 0.5, (float)((float)((float)((float)((float)v11 * 4.6566e-10) + (float)((float)v11 * 4.6566e-10)) - 1.0) * *(float *)(v7 + 532)) * 0.5); if ( v6 ) { v12 = *((_DWORD **)v6 + 13); if ( *v12 ) { v13 = (int *)v12[3]; v14 = &v13[*v12 - 1]; while ( v13 <= v14 ) { v16 = *v13++; v15 = v16; if ( !v16 ) break; v18 = *(int (__fastcall **)(int, _BYTE *))(*(_DWORD *)v15 + 92); cocos2d::CCPoint::operator+(v20, v15 + 544, v19); this = v18(v15, v20); } } } } } if ( v5 ) v17 = *(_DWORD *)(v5 + 272); else v17 = 0; v4 = v5; v5 = v17; } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source