// // SetFolderPopup::setTextPopupClosed from 0x14029cbf0 to 0x14029cd77 (391 bytes) // // 2 xrefs: // > @ 0x140579100 // > @ 0x1406d1e50 // // 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 // // Hidden C++ exception states: #wind=5 void __fastcall SetFolderPopup::setTextPopupClosed(__int64 a1, __int64 a2, __int64 a3) { __int64 v5; // rbp __int64 v6; // rcx __int64 v7; // rsi cocos2d::CCString *v8; // rax const char *CString; // rax size_t v10; // r8 __int64 v11; // rax void *v12; // rcx void *v13; // [rsp+30h] [rbp-78h] _BYTE v14[32]; // [rsp+38h] [rbp-70h] BYREF __int64 v15; // [rsp+58h] [rbp-50h] void *Block[2]; // [rsp+60h] [rbp-48h] BYREF __int64 v17; // [rsp+70h] [rbp-38h] unsigned __int64 v18; // [rsp+78h] [rbp-30h] v15 = a3; v5 = sub_14003BDB0((__int64)v14, a3); v6 = qword_1406C2EC0; if ( !qword_1406C2EC0 ) { v13 = operator new(0x3D0u); qword_1406C2EC0 = sub_140141280((__int64)v13); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EC0 + 72LL))(qword_1406C2EC0); v6 = qword_1406C2EC0; } if ( *(_BYTE *)(a1 + 8) ) v7 = *(_QWORD *)(v6 + 432); else v7 = *(_QWORD *)(v6 + 424); v8 = cocos2d::CCString::createWithFormat("%i", *(_DWORD *)(a1 - 32)); CString = cocos2d::CCString::getCString(v8); *(_OWORD *)Block = 0; v17 = 0; v18 = 0; v10 = -1; do ++v10; while ( CString[v10] ); sub_14003A930(Block, CString, v10); v11 = cocos2d::CCString::create(v5); cocos2d::CCDictionary::setObject(v7, v11, Block); if ( v18 > 0xF ) { v12 = Block[0]; if ( v18 + 1 >= 0x1000 ) { v12 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v12 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v12); } sub_14003A830(v5); (*(void (__fastcall **)(__int64))(*(_QWORD *)(a1 - 680) + 1048LL))(a1 - 680); sub_14003A830(a3); }
GD Web Decomp Icon

GD Web Decomp

Raw Source