// // CustomizeObjectLayer::textInputOpened from 0x1401437b0 to 0x140143957 (423 bytes) // // 2 xrefs: // > @ 0x140739668 // > @ 0x140917414 // // This function is hookable on this platform (idp: pc, 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:27:10 +0000 // // Hidden C++ exception states: #wind=1 void __fastcall CustomizeObjectLayer::textInputOpened(__int64 a1, _QWORD *a2) { _BYTE *v4; // rax size_t v5; // r8 void **v6; // rcx char *v7; // rdi unsigned __int64 v8; // r14 unsigned __int64 v9; // rbp size_t v10; // r8 int v11; // ebx char *v12; // rax __int128 Buf2; // [rsp+38h] [rbp-70h] BYREF __int64 v14; // [rsp+48h] [rbp-60h] __int64 v15; // [rsp+50h] [rbp-58h] void *Buf1[2]; // [rsp+58h] [rbp-50h] BYREF __int128 v17; // [rsp+68h] [rbp-40h] if ( (*(unsigned int (__fastcall **)(_QWORD *))(*a2 + 56LL))(a2) == 1 ) { Buf2 = 0; v14 = 1; v15 = 15; LOWORD(Buf2) = 65; v4 = (_BYTE *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)(a2[74] + 600LL) + 8LL))(a2[74] + 600LL); *(_OWORD *)Buf1 = 0; v17 = 0; v5 = -1; do ++v5; while ( v4[v5] ); sub_14003D230(Buf1, v4, v5); v6 = Buf1; v7 = (char *)Buf1[0]; v8 = *((_QWORD *)&v17 + 1); if ( *((_QWORD *)&v17 + 1) > 0xFu ) v6 = (void **)Buf1[0]; v9 = v17; v10 = v17; if ( (unsigned __int64)v17 > 1 ) v10 = 1; v11 = memcmp(v6, &Buf2, v10); if ( !v11 ) { if ( v9 ) v11 = v9 > 1; else v11 = -1; } if ( v8 > 0xF ) { v12 = v7; if ( v8 + 1 >= 0x1000 ) { v7 = *((char **)v7 - 1); if ( (unsigned __int64)(v12 - v7 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v7); } if ( !v11 ) { CustomizeObjectLayer::onClear(a1 - 544, 0); *(_OWORD *)Buf1 = 0; *(_QWORD *)&v17 = 1; *((_QWORD *)&v17 + 1) = 15; LOWORD(Buf1[0]) = 32; CCTextInputNode::updateLabel((__int64)a2, (__int64 *)Buf1); } } }