// // sub_1004F5DD8 from 0x1004f5dd8 to 0x1004f5e98 (192 bytes) // // 3 xrefs: // > sub_1004F5C34 @ 0x1004f5c7c // > sub_1004F5C34 @ 0x1004f5cb4 // > MessageThreadsPage::friendPickerClosed @ 0x1004f6b2c // // This function is hookable on this platform (idp: arm, 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:06:47 +0000 // __int64 __usercall sub_1004F5DD8@(__int64 a1@, __int64 a2@) { signed int v4; // w21 __int64 result; // x0 __int64 v6; // x8 __int64 v7; // x0 void *v8; // x0 const std::string::value_type *CString; // x0 v4 = 0; *(_QWORD *)a2 = 0; *(_QWORD *)(a2 + 8) = 0; *(_QWORD *)(a2 + 16) = 0; while ( 1 ) { result = *(_QWORD *)(a1 + 880); if ( result ) result = sub_1002E757C(result); if ( v4 >= (int)result ) break; v6 = *(unsigned __int8 *)(a2 + 23); if ( (v6 & 0x80u) != 0LL ) v6 = *(_QWORD *)(a2 + 8); if ( v6 ) std::string::append((std::string *)a2, ","); v7 = sub_1002E75A0(*(_QWORD *)(a1 + 880), v4); v8 = sub_1003065B0("%i", *(_DWORD *)(v7 + 376)); CString = (const std::string::value_type *)cocos2d::CCString::getCString((__int64)v8); std::string::append((std::string *)a2, CString); ++v4; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source