// // sub_100212C00 from 0x100212c00 to 0x100212cfe (254 bytes) // // 8 xrefs: // > MessagesProfilePage::init @ 0x100212355 // > sub_1002128F0 @ 0x1002129fa // > sub_100212D00 @ 0x100212d05 // > MessagesProfilePage::deleteSelected @ 0x10021345f // > MessagesProfilePage::loadMessagesFinished @ 0x100213cd1 // > MessagesProfilePage::loadMessagesFailed @ 0x100213d7f // > sub_100213D90 @ 0x100213e16 // > MessagesProfilePage::updateLevelsLabel @ 0x100214446 // // This function is hookable on this platform (idp: pc, 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 12:26:58 +0000 // _QWORD *__fastcall sub_100212C00(__int64 a1, double a2) { char v2; // al __int64 v4; // rax __int64 v5; // rsi _QWORD *result; // rax int v7; // r14d __int64 v8; // rcx unsigned __int64 v9; // rcx __int64 v10; // rdi __int64 v11; // r15 __int64 v12; // rax __int64 CString; // rax __int64 v14; // rdi char v15; // [rsp-8h] [rbp-20h] v15 = v2; v4 = GameLevelManager::sharedState(a2); if ( (*(_BYTE *)(a1 + 704) & 1) != 0 ) v5 = *(_QWORD *)(a1 + 720); else v5 = a1 + 705; result = (_QWORD *)GameLevelManager::getStoredOnlineLevels(v4, v5); v7 = 0; if ( result ) { result = (_QWORD *)result[7]; v8 = *(unsigned int *)result; if ( *(_DWORD *)result ) { result = (_QWORD *)result[2]; v9 = (unsigned __int64)&result[v8 - 1]; v7 = 0; do { if ( !*result ) break; v7 += *(unsigned __int8 *)(*result++ + 426LL); } while ( (unsigned __int64)result <= v9 ); } } v10 = *(_QWORD *)(a1 + 800); if ( v10 ) { (*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v10 + 344LL))(v10, v7 > 0); v11 = *(_QWORD *)(a1 + 800); v12 = sub_10088E820("(%i)", v15); CString = cocos2d::CCString::getCString(v12); result = (_QWORD *)(*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v11 + 928LL))(v11, CString); } v14 = *(_QWORD *)(a1 + 808); if ( v14 ) return (_QWORD *)(*(__int64 (__fastcall **)(__int64, bool))(*(_QWORD *)v14 + 344LL))(v14, v7 > 0); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source