// // sub_1004F5F28 from 0x1004f5f28 to 0x1004f6050 (296 bytes) // // 2 xrefs: // > MessageThreadsPage::threadListFinished @ 0x1004f7320 // > sub_1004F73A4 @ 0x1004f7794 // // 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:48 +0000 // __int64 __fastcall sub_1004F5F28(__int64 a1) { __int64 v2; // x8 __int64 result; // x0 int v4; // w21 __int64 v5; // x20 int v6; // w8 void *v7; // x0 __int64 CString; // x0 float v9; // s8 __int64 v10; // x20 float v11; // s8 __int64 v12; // x0 float v13; // [xsp+8h] [xbp-38h] BYREF v2 = GameLevelManager::sharedState(); result = *(_QWORD *)(a1 + 768); if ( result ) { v4 = *(_DWORD *)(v2 + 476); result = (*(__int64 (__fastcall **)(__int64, bool))(*(_QWORD *)result + 344LL))(result, v4 > 0); if ( v4 >= 1 ) { v5 = *(_QWORD *)(a1 + 776); if ( (unsigned int)v4 >= 0x63 ) v6 = 99; else v6 = v4; v7 = sub_1003065B0("%i", v6); CString = cocos2d::CCString::getCString((__int64)v7); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v5 + 928LL))(v5, CString); v9 = 0.0; cocos2d::CCLabelBMFont::limitLabelWidth(*(_QWORD *)(a1 + 776), 28.0, 0.8, 0.0); if ( v4 == 1 ) v9 = -0.5; v10 = *(_QWORD *)(a1 + 776); v11 = v9 + (float)(*(float *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 768) + 328LL))(*(_QWORD *)(a1 + 768)) * 0.5); v12 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 768) + 328LL))(*(_QWORD *)(a1 + 768)); sub_1000262BC(&v13, v11, (float)(*(float *)(v12 + 4) * 0.5) + 1.0); return (*(__int64 (__fastcall **)(__int64, float *))(*(_QWORD *)v10 + 184LL))(v10, &v13); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source