// // sub_100212A20 from 0x100212a20 to 0x100212bd3 (435 bytes) // // 1 xrefs: // > MessagesProfilePage::init @ 0x1002122c8 // // 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 // __int64 __fastcall sub_100212A20(__int64 a1, double a2) { __int64 v2; // rax __int64 StoredOnlineLevels; // rax unsigned int *v4; // rax __int64 v5; // rcx unsigned __int64 v6; // rax unsigned __int64 v7; // rcx __int64 *v8; // rbx _QWORD v10[2]; // [rsp+0h] [rbp-40h] BYREF void *v11; // [rsp+10h] [rbp-30h] void *v12[5]; // [rsp+18h] [rbp-28h] BYREF v2 = GameLevelManager::sharedState(a2); if ( (*(_BYTE *)(a1 + 704) & 1) != 0 ) { StoredOnlineLevels = GameLevelManager::getStoredOnlineLevels(v2, *(_QWORD *)(a1 + 720)); if ( !StoredOnlineLevels ) goto LABEL_10; } else { StoredOnlineLevels = GameLevelManager::getStoredOnlineLevels(v2, a1 + 705); if ( !StoredOnlineLevels ) goto LABEL_10; } v4 = *(unsigned int **)(StoredOnlineLevels + 56); v5 = *v4; if ( *v4 ) { v6 = *((_QWORD *)v4 + 2); v7 = v6 + 8 * v5 - 8; while ( *(_QWORD *)v6 ) { if ( *(_BYTE *)(*(_QWORD *)v6 + 426LL) ) { v11 = operator new(0x48u); v10[0] = 73; v10[1] = 70; strcpy((char *)v11, "Are you sure you want to delete the selected messages?"); v8 = (__int64 *)FLAlertLayer::create(a1 + 664, "Delete", v10, "Back", "Delete", 0, 380.0, 0.0, 1.0); if ( (v10[0] & 1) != 0 ) operator delete(v11); ButtonSprite::updateBGImage(v8[77], (__int64)"GJ_button_06.png"); (*(void (__fastcall **)(__int64 *, __int64))(*v8 + 72))(v8, 1); return (*(__int64 (__fastcall **)(__int64 *))(*v8 + 1312))(v8); } v6 += 8LL; if ( v6 > v7 ) break; } } LABEL_10: strcpy((char *)v12, "*No messages selected."); v8 = (__int64 *)sub_100493AB0(0, "Nothing here...", v12, "OK", 0); if ( ((__int64)v12[0] & 1) != 0 ) operator delete(v12[2]); return (*(__int64 (__fastcall **)(__int64 *))(*v8 + 1312))(v8); }
GD Web Decomp Icon

GD Web Decomp

Raw Source