// // TextArea::update from 0x6b21f0 to 0x6b238c (412 bytes) // // 2 xrefs: // > @ 0xfb398 // > @ 0x141cb58 // // 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 12:50:51 +0000 // __int64 __fastcall TextArea::update(TextArea *this, float a2) { float v3; // s1 __int64 v4; // x0 __int64 v5; // x0 __int64 i; // x21 cocos2d::CCArray *v7; // x20 float *v8; // x0 float *v9; // x19 float v10; // s0 int v11; // w0 unsigned int *v12; // x1 char *v13; // x20 __int64 v14; // x0 char *v15; // x26 __int64 v16; // x19 void (__fastcall *v17)(__int64, __int64 *); // x27 float v19; // [xsp+80h] [xbp+80h] char v20[8]; // [xsp+98h] [xbp+98h] BYREF __int64 v21; // [xsp+A0h] [xbp+A0h] BYREF v3 = *((float *)this + 178); v4 = *((_QWORD *)this + 88); *((float *)this + 178) = v3 + a2; if ( v4 ) { v5 = *(_QWORD *)(v4 + 56); if ( v5 ) { for ( i = *(_QWORD *)(v5 + 288); ; i = *(_QWORD *)(i + 288) ) { v7 = *(cocos2d::CCArray **)(v5 + 264); v8 = (float *)cocos2d::CCArray::objectAtIndex(v7, 0); v9 = v8; if ( v8 ) { v10 = *((float *)this + 178); if ( v10 > v8[156] ) { v8[156] = v10 + v8[154]; v19 = (float)((float)((float)((float)((float)rand() * 4.6566e-10) * 2.0) + -1.0) * v8[155]) * 0.5; v11 = rand(); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v20, v19, (float)((float)((float)((float)((float)v11 * 4.6566e-10) * 2.0) + -1.0) * v9[155]) * 0.5); if ( v7 ) { v12 = *((unsigned int **)v7 + 7); if ( *v12 ) { v13 = *((char **)v12 + 2); v14 = 8LL * *v12 - 8; v15 = &v13[v14]; if ( v13 <= &v13[v14] ) { while ( 1 ) { v16 = *(_QWORD *)v13; if ( !*(_QWORD *)v13 ) break; v13 += 8; v17 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v16 + 184LL); cocos2d::CCPoint::operator+(&v21, v16 + 632); v17(v16, &v21); if ( v15 < v13 ) { if ( i ) goto LABEL_7; return _stack_chk_guard; } } } } } } } if ( !i ) break; LABEL_7: v5 = i; } } } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source