// // SetIDPopup::textChanged from 0x14029bd70 to 0x14029be68 (248 bytes) // // 6 xrefs: // > @ 0x140572f80 // > @ 0x140573e78 // > @ 0x140579350 // > @ 0x14057bf00 // > @ 0x140589748 // > @ 0x1406d1db4 // // 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 // void SetIDPopup::textChanged(SetIDPopup *a1, CCTextInputNode *a2) { const char *v3; // rax size_t v4; // r8 const char *v5; // rcx int v6; // eax unsigned __int64 v7; // rdx char *v8; // rcx signed int m_eObjType; // ecx char *String[2]; // [rsp+28h] [rbp-30h] BYREF __int128 v11; // [rsp+38h] [rbp-20h] if ( !LOBYTE(a1->m_uReference) ) { v3 = a2->m_textField->getString(&a2->m_textField->cocos2d::CCLabelProtocol); *(_OWORD *)String = 0; v4 = -1; v11 = 0; do ++v4; while ( v3[v4] ); sub_14003A930(String, v3, v4); v5 = (const char *)String; if ( *((_QWORD *)&v11 + 1) > 0xFu ) v5 = String[0]; v6 = atoi(v5); v7 = *((_QWORD *)&v11 + 1); a1->m_nTag = v6; if ( v7 > 0xF ) { v8 = String[0]; if ( v7 + 1 >= 0x1000 ) { v8 = *((char **)String[0] - 1); if ( (unsigned __int64)(String[0] - v8 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v8); } m_eObjType = a1->m_eObjType; if ( m_eObjType >= a1->m_nTag ) m_eObjType = a1->m_nTag; if ( (signed int)a1->m_uAutoReleaseCount > m_eObjType ) m_eObjType = a1->m_uAutoReleaseCount; a1->m_nTag = m_eObjType; (*(void (__fastcall **)(int *))(*(_QWORD *)&a1[-1].m_uOrderOfArrival + 1048LL))(&a1[-1].m_uOrderOfArrival); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source