// // LevelBrowserLayer::onRefresh from 0x1403e8c50 to 0x1403e8da4 (340 bytes) // // 3 xrefs: // > LevelBrowserLayer::init @ 0x1403e2fc8 // > LevelListLayer::init @ 0x14042c755 // > @ 0x140925034 // // 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 11:31:44 +0000 // // Hidden C++ exception states: #wind=2 void __fastcall LevelBrowserLayer::onRefresh(__int64 a1) { __int64 v2; // rcx _BYTE *Key; // rax size_t v4; // r8 void **v5; // rdi __int64 v6; // rcx __int64 v7; // rcx void *v8; // rcx void *v9; // [rsp+30h] [rbp-38h] void *Block[2]; // [rsp+38h] [rbp-30h] BYREF __int64 v11; // [rsp+48h] [rbp-20h] unsigned __int64 v12; // [rsp+50h] [rbp-18h] v2 = *(_QWORD *)(a1 + 664); if ( v2 ) { Key = (_BYTE *)GJSearchObject::getKey(v2); *(_OWORD *)Block = 0; v11 = 0; v12 = 0; v4 = -1; do ++v4; while ( Key[v4] ); sub_14003D230(Block, Key, v4); v5 = Block; if ( v12 > 0xF ) v5 = (void **)Block[0]; v6 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v9 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v9); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v6 = *(_QWORD *)&qword_14090BFB0; } GameLevelManager::resetTimerForKey(v6, v5); LevelBrowserLayer::loadPage(a1, *(int **)(a1 + 664)); v7 = *(_QWORD *)(a1 + 648); if ( v7 ) (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v7 + 336LL))(v7, 0); if ( v12 > 0xF ) { v8 = Block[0]; if ( v12 + 1 >= 0x1000 ) { v8 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v8 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v8); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source