// // CCTextInputNode::refreshLabel from 0x1001fcaac to 0x1001fcc28 (380 bytes) // // 7 xrefs: // > CCTextInputNode::updateLabel @ 0x1001fb4f4 // > CCTextInputNode::updateLabel @ 0x1001fb620 // > CCTextInputNode::setMaxLabelScale @ 0x1001fccd8 // > CCTextInputNode::setMaxLabelWidth @ 0x1001fcce0 // > CCTextInputNode::setLabelPlaceholderScale @ 0x1001fcce8 // > CCTextInputNode::setLabelPlaceholderColor @ 0x1001fccf8 // > sub_1001FCCFC @ 0x1001fcd0c // // 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 11:00:43 +0000 // __int64 __fastcall CCTextInputNode::refreshLabel(__int64 result) { __int64 v1; // x19 char *v2; // x0 _BOOL4 v3; // w20 __int64 v4; // x21 float v5; // s8 float *v6; // x0 __n128 v7; // q0 float v8; // s8 __int64 (*v9)(void); // x8 int v10; // w9 int v11; // w8 void *__p[2]; // [xsp+0h] [xbp-60h] BYREF char v13; // [xsp+17h] [xbp-49h] void *v14[2]; // [xsp+18h] [xbp-48h] BYREF char v15; // [xsp+2Fh] [xbp-31h] v1 = result; if ( *(_QWORD *)(result + 600) || *(_QWORD *)(result + 616) ) { v2 = (char *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(result + 576) + 1248LL))(*(_QWORD *)(result + 576)); sub_100009900(v14, v2); sub_100009900(__p, ""); v3 = sub_1000045BC(v14, __p); if ( v13 < 0 ) operator delete(__p[0]); if ( v15 < 0 ) operator delete(v14[0]); v4 = *(_QWORD *)(v1 + 600); if ( v4 ) { if ( v3 && *(float *)(v1 + 552) > 0.0 ) { (*(void (__fastcall **)(_QWORD))(*(_QWORD *)v4 + 160LL))(*(_QWORD *)(v1 + 600)); } else { v5 = *(float *)(v1 + 544); v6 = (float *)(*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)v4 + 328LL))(*(_QWORD *)(v1 + 600)); v7.n128_u32[0] = *(_DWORD *)(v1 + 548); if ( (float)(v5 / *v6) <= v7.n128_f32[0] ) { v8 = *(float *)(v1 + 544); v7.n128_f32[0] = v8 / *(float *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(v1 + 600) + 328LL))(*(_QWORD *)(v1 + 600)); } (*(void (__fastcall **)(__int64, __n128))(*(_QWORD *)v4 + 160LL))(v4, v7); if ( !v3 ) { v9 = *(__int64 (**)(void))(**(_QWORD **)(v1 + 600) + 1072LL); return v9(); } } v9 = *(__int64 (**)(void))(**(_QWORD **)(v1 + 600) + 1072LL); return v9(); } result = *(_QWORD *)(v1 + 616); if ( result ) { if ( v3 ) { v10 = *(unsigned __int8 *)(v1 + 558); v11 = *(unsigned __int16 *)(v1 + 556); } else { v10 = *(unsigned __int8 *)(v1 + 561); v11 = *(unsigned __int16 *)(v1 + 559); } return TextArea::colorAllLabels(result, v11 | (unsigned int)(v10 << 16)); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source