// // SecretLayer2::textInputOpened from 0x1403e6d80 to 0x1403e6ec3 (323 bytes) // // 3 xrefs: // > @ 0x1405d32c0 // > @ 0x1405d4d60 // > @ 0x1406d7f7c // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // // Merged with: SecretLayer2::textInputOpened, SecretLayer4::textInputOpened void __fastcall SecretLayer2::textInputOpened(__int64 a1, __int64 a2) { _BYTE *v3; // rax size_t v4; // r8 void **v5; // rcx char *v6; // rbx unsigned __int64 v7; // rdi size_t v8; // r8 char *v9; // rax __int128 Buf2; // [rsp+28h] [rbp-60h] BYREF __int64 v11; // [rsp+38h] [rbp-50h] __int64 v12; // [rsp+40h] [rbp-48h] void *Buf1[2]; // [rsp+48h] [rbp-40h] BYREF size_t v14; // [rsp+58h] [rbp-30h] unsigned __int64 v15; // [rsp+60h] [rbp-28h] v3 = (_BYTE *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)(*(_QWORD *)(a2 + 552) + 600LL) + 8LL))(*(_QWORD *)(a2 + 552) + 600LL); *(_OWORD *)Buf1 = 0; v14 = 0; v15 = 0; v4 = -1; do ++v4; while ( v3[v4] ); sub_14003A930(Buf1, v3, v4); Buf2 = 0; v11 = 0; v12 = 15; LOBYTE(Buf2) = 0; v5 = Buf1; v6 = (char *)Buf1[0]; v7 = v15; if ( v15 > 0xF ) v5 = (void **)Buf1[0]; v8 = v14; if ( v14 ) v8 = 0; if ( !memcmp(v5, &Buf2, v8) && !v14 ) { Buf2 = 0; v11 = 1; v12 = 15; LOWORD(Buf2) = 32; CCTextInputNode::updateLabel(*(CCTextInputNode **)(a1 + 48), (__int64)&Buf2); } if ( v7 > 0xF ) { v9 = v6; if ( v7 + 1 >= 0x1000 ) { v6 = *((char **)v6 - 1); if ( (unsigned __int64)(v9 - v6 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v6); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source