// // sub_10051B2A8 from 0x10051b2a8 to 0x10051b394 (236 bytes) // // 8 xrefs: // > sub_1005059D4 @ 0x100505b80 // > LevelPickerPopup::loadLevelsFinished @ 0x100506064 // > ReportQueuePopup::adminReportQueueFinished @ 0x100523770 // > ReportQueuePopup::adminReportQueueFinished @ 0x1005237a4 // > AccountReviewPopup::adminReportedContentFinished @ 0x100545284 // > AccountReviewPopup::adminAbuseInfoFinished @ 0x100546718 // > AccountReviewPopup::adminUserHistoryFinished @ 0x100547a34 // > AccountReviewPopup::adminUserHistoryFinished @ 0x100547a68 // // 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:07:08 +0000 // __int64 __fastcall sub_10051B2A8(_QWORD *a1, int a2, int a3, int a4) { __int64 v8; // x0 __int64 result; // x0 __int64 v10; // x22 void *v11; // x0 const char *CString; // x1 __int64 (__fastcall *v13)(__int64, const char *); // x2 v8 = a1[90]; if ( v8 ) (*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v8 + 344LL))(v8, a3 > 0); result = a1[91]; if ( result ) result = (*(__int64 (__fastcall **)(__int64, bool))(*(_QWORD *)result + 344LL))(result, a4 + a3 < a2); v10 = a1[92]; if ( v10 ) { if ( a2 < 1 || a4 < 1 ) { v13 = *(__int64 (__fastcall **)(__int64, const char *))(*(_QWORD *)v10 + 928LL); CString = ""; } else { v11 = sub_1003065B0("%i to %i of %i", a3 + 1, a4 + a3, a2); CString = (const char *)cocos2d::CCString::getCString((__int64)v11); v13 = *(__int64 (__fastcall **)(__int64, const char *))(*(_QWORD *)v10 + 928LL); } return v13(v10, CString); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source