// // sub_100870760 from 0x100870760 to 0x1008709e0 (640 bytes) // // 1 xrefs: // > FRequestProfilePage::init @ 0x10086f87f // // 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:36:50 +0000 // __int64 __fastcall sub_100870760(__int64 a1) { __int64 v1; // rax __int64 StoredOnlineLevels; // rax unsigned int *v3; // rax __int64 v4; // rcx unsigned __int64 v5; // rax unsigned __int64 v6; // rcx __int64 *v7; // rbx char **v8; // r14 __int128 v10; // [rsp+8h] [rbp-58h] BYREF char *v11; // [rsp+18h] [rbp-48h] BYREF __int128 v12; // [rsp+20h] [rbp-40h] BYREF char *v13; // [rsp+30h] [rbp-30h] BYREF __int128 v14[2]; // [rsp+38h] [rbp-28h] BYREF v1 = GameLevelManager::sharedState(); if ( (*(_BYTE *)(a1 + 712) & 1) != 0 ) { StoredOnlineLevels = GameLevelManager::getStoredOnlineLevels(v1, *(const char **)(a1 + 728)); if ( !StoredOnlineLevels ) goto LABEL_10; LABEL_5: v3 = *(unsigned int **)(StoredOnlineLevels + 56); v4 = *v3; if ( !*v3 ) goto LABEL_10; v5 = *((_QWORD *)v3 + 2); v6 = v5 + 8 * v4 - 8; while ( 1 ) { if ( !*(_QWORD *)v5 ) goto LABEL_10; if ( *(_BYTE *)(*(_QWORD *)v5 + 725LL) ) break; v5 += 8LL; if ( v5 > v6 ) goto LABEL_10; } if ( *(_BYTE *)(a1 + 704) == 1 ) { v8 = &v11; v11 = (char *)operator new(0x48u); *(_QWORD *)&v10 = 73; *((_QWORD *)&v10 + 1) = 70; strcpy(v11, "Are you sure you want to delete the selected requests?"); v7 = (__int64 *)FLAlertLayer::create( (int)a1 + 664, (int)"Delete", &v10, (int)"Back", (int)"Delete", 0, 380.0, 0.0, 1.0); if ( (v10 & 1) == 0 ) goto LABEL_17; } else { v8 = &v13; v13 = (char *)operator new(0x68u); *(_QWORD *)&v12 = 105; *((_QWORD *)&v12 + 1) = 101; strcpy( v13, "Ignore the selected requests?\nThey won't be notified.\nChange your mind under Ignored."); v7 = (__int64 *)FLAlertLayer::create( (int)a1 + 664, (int)"Ignore", &v12, (int)"Back", (int)"Ignore", 0, 380.0, 0.0, 1.0); if ( (v12 & 1) == 0 ) { LABEL_17: ButtonSprite::updateBGImage(v7[77], (__int64)"GJ_button_06.png"); (*(void (__fastcall **)(__int64 *, __int64))(*v7 + 72))(v7, 3); return (*(__int64 (__fastcall **)(__int64 *))(*v7 + 1312))(v7); } } operator delete(*v8); goto LABEL_17; } StoredOnlineLevels = GameLevelManager::getStoredOnlineLevels(v1, (const char *)(a1 + 713)); if ( StoredOnlineLevels ) goto LABEL_5; LABEL_10: strcpy((char *)v14, "*No requests selected."); v7 = (__int64 *)sub_100493AB0(0, (__int64)"Nothing here...", v14, (__int64)"OK", 0); if ( (v14[0] & 1) != 0 ) operator delete(*(void **)&v14[1]); return (*(__int64 (__fastcall **)(__int64 *))(*v7 + 1312))(v7); }
GD Web Decomp Icon

GD Web Decomp

Raw Source