// // SetIDPopup::updateTextInputLabel from 0x1403a60b0 to 0x1403a6160 (176 bytes) // // 5 xrefs: // > SetIDPopup::init @ 0x1403a5e7d // > SetIDPopup::onItemIDArrow @ 0x1403a5f4a // > SetIDPopup::onResetValue @ 0x1403a5f5c // > SetLevelOrderPopup::onOrderButton @ 0x140431352 // > @ 0x140923780 // // 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:31:19 +0000 // __int64 __fastcall SetIDPopup::updateTextInputLabel(__int64 a1) { int v2; // ecx int v3; // r8d int v4; // eax int v5; // edx cocos2d::CCString *v6; // rax const char *CString; // rax size_t v8; // r8 __int64 result; // rax __int128 v10; // [rsp+20h] [rbp-28h] BYREF __int64 v11; // [rsp+30h] [rbp-18h] __int64 v12; // [rsp+38h] [rbp-10h] *(_BYTE *)(a1 + 676) = 1; v2 = *(_DWORD *)(a1 + 672); v3 = *(_DWORD *)(a1 + 684); v4 = v3; v5 = *(_DWORD *)(a1 + 680); if ( v3 >= v2 ) v4 = v2; if ( v5 <= v4 ) { v5 = v2; if ( v3 < v2 ) v5 = *(_DWORD *)(a1 + 684); } *(_DWORD *)(a1 + 672) = v5; v6 = cocos2d::CCString::createWithFormat((const char *)&word_1406ED6F8); CString = cocos2d::CCString::getCString(v6); v10 = 0; v11 = 0; v8 = -1; v12 = 0; do ++v8; while ( CString[v8] ); sub_14003D230(&v10, CString, v8); CCTextInputNode::setString(*(_QWORD **)(a1 + 664), &v10); result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 1080LL))(a1); *(_BYTE *)(a1 + 676) = 0; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source