// // sub_1004F52E0 from 0x1004f52e0 to 0x1004f5368 (136 bytes) // // 4 xrefs: // > MessageThreadsPage::init @ 0x1004f46d4 // > MessageThreadsPage::friendPicked @ 0x1004f69d0 // > MessageThreadsPage::clearRecipients @ 0x1004f6aec // > MessageThreadsPage::friendPickerClosed @ 0x1004f6b10 // // 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 __fastcall sub_1004F52E0(__int64 a1) { __int64 result; // x0 __int64 v3; // x19 void *v4; // x0 const char *CString; // x1 result = *(_QWORD *)(a1 + 880); if ( !result ) { v3 = *(_QWORD *)(a1 + 920); if ( !v3 ) return result; goto LABEL_6; } result = sub_1002E757C(result); v3 = *(_QWORD *)(a1 + 920); if ( !v3 ) return result; if ( (int)result < 1 ) { LABEL_6: CString = ""; return (*(__int64 (__fastcall **)(__int64, const char *))(*(_QWORD *)v3 + 928LL))(v3, CString); } v4 = sub_1003065B0("%i", result); CString = (const char *)cocos2d::CCString::getCString((__int64)v4); return (*(__int64 (__fastcall **)(__int64, const char *))(*(_QWORD *)v3 + 928LL))(v3, CString); }
GD Web Decomp Icon

GD Web Decomp

Raw Source