// // LevelBadgePopup::loadLevelsFailed from 0x1400e6350 to 0x1400e6506 (438 bytes) // // 2 xrefs: // > @ 0x1407286b0 // > @ 0x140914cc0 // // 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:26:32 +0000 // // Hidden C++ exception states: #wind=3 int __fastcall LevelBadgePopup::loadLevelsFailed(__int64 a1, _BYTE *a2) { size_t v3; // rbx __int64 v4; // rax const void *v5; // rcx size_t v6; // r8 __int64 v7; // r14 __int64 v8; // rsi __int64 v9; // rax __int64 v10; // rcx __int64 *v11; // rsi const char *v12; // rdx __int64 v13; // rbx __int64 v14; // rdx __int64 v15; // r8 __int64 v16; // rax __int64 v17; // rdx __int128 v19; // [rsp+30h] [rbp-58h] BYREF __int64 v20; // [rsp+40h] [rbp-48h] __int64 v21; // [rsp+48h] [rbp-40h] __int128 v22; // [rsp+50h] [rbp-38h] BYREF __int64 v23; // [rsp+60h] [rbp-28h] __int64 v24; // [rsp+68h] [rbp-20h] void *v25; // [rsp+98h] [rbp+10h] v3 = -1; if ( !a2 ) goto LABEL_9; v4 = -1; do ++v4; while ( a2[v4] ); v5 = (const void *)(a1 + 32); if ( *(_QWORD *)(a1 + 56) > 0xFu ) v5 = *(const void **)(a1 + 32); v6 = *(_QWORD *)(a1 + 48); if ( v6 == v4 ) { if ( !v6 || (LODWORD(v4) = memcmp(v5, a2, v6), !(_DWORD)v4) ) { LABEL_9: v7 = a1 - 664; v8 = a1; if ( a1 == 664 ) v8 = 0; v9 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v25 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v25); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v9 = *(_QWORD *)&qword_14090BFB0; } if ( *(_QWORD *)(v9 + 1352) == v8 ) *(_QWORD *)(v9 + 1352) = 0; v10 = *(_QWORD *)(a1 + 64); if ( v10 ) { LoadingCircle::fadeAndRemove(v10); *(_QWORD *)(a1 + 64) = 0; } v11 = *(__int64 **)(cocos2d::CCDirector::sharedDirector(v10) + 272); v19 = 0; v20 = 0; v21 = 15; LOBYTE(v19) = 0; v12 = "Level not found"; if ( *(_BYTE *)(a1 + 12) ) v12 = "List not found"; v22 = 0; v23 = 0; v24 = 0; do ++v3; while ( v12[v3] ); sub_14003D230(&v22, v12, v3); v13 = *v11; v16 = TextAlertPopup::create(&v22, v14, v15, 150, &v19); (*(void (__fastcall **)(__int64 *, __int64, __int64))(v13 + 456))(v11, v16, 1000); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v7 + 992LL))(a1 - 664, 0); LOBYTE(v17) = 1; LODWORD(v4) = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v7 + 520LL))(a1 - 664, v17); } } return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source