// // SetFolderPopup::valueChanged from 0x14029c8b0 to 0x14029c9e9 (313 bytes) // // 3 xrefs: // > @ 0x140574f00 // > @ 0x1406d1e2c // > @ 0x1406d1e38 // // 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=4 void SetFolderPopup::valueChanged(SetFolderPopup *a1) { __int64 v2; // rcx _QWORD *FolderName; // rax size_t v4; // r8 void **v5; // rdx void *v6; // rcx void *v7; // [rsp+20h] [rbp-58h] void *Block[2]; // [rsp+28h] [rbp-50h] BYREF __int64 v9; // [rsp+38h] [rbp-40h] unsigned __int64 v10; // [rsp+40h] [rbp-38h] _QWORD v11[4]; // [rsp+48h] [rbp-30h] BYREF if ( a1->m_titleLabel ) { v2 = qword_1406C2EC0; if ( !qword_1406C2EC0 ) { v7 = operator new(0x3D0u); qword_1406C2EC0 = sub_140141280((__int64)v7); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EC0 + 72LL))(qword_1406C2EC0); v2 = qword_1406C2EC0; } FolderName = GameLevelManager::getFolderName(v2, v11, a1->m_value, a1->m_isCreated); if ( FolderName[3] > 0xFu ) FolderName = (_QWORD *)*FolderName; *(_OWORD *)Block = 0; v9 = 0; v10 = 0; v4 = -1; do ++v4; while ( *((_BYTE *)FolderName + v4) ); sub_14003A930(Block, FolderName, v4); sub_14003A830((__int64)v11); v5 = Block; if ( v10 > 0xF ) v5 = (void **)Block[0]; a1->m_titleLabel->setString(&a1->m_titleLabel->cocos2d::CCLabelProtocol, (const char *)v5); if ( v10 > 0xF ) { v6 = Block[0]; if ( v10 + 1 >= 0x1000 ) { v6 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v6 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v6); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source