// // LevelBadgePopup::loadLevelsFailed from 0x100502b38 to 0x100502ca0 (360 bytes) // // 2 xrefs: // > sub_100502CDC @ 0x100502ce0 // > @ 0x1009969c8 // // This function is hookable on this platform (idp: arm, 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:06:54 +0000 // __int64 __fastcall LevelBadgePopup::loadLevelsFailed(__int64 a1, char *__s) { _QWORD *v4; // x21 __int64 result; // x0 __int64 v6; // x8 __int64 v7; // x0 __int64 v8; // x20 char *v9; // x1 _QWORD *v10; // x0 void *__p[2]; // [xsp+0h] [xbp-50h] BYREF char v12; // [xsp+17h] [xbp-39h] void *v13[2]; // [xsp+18h] [xbp-38h] BYREF char v14; // [xsp+2Fh] [xbp-21h] if ( !__s ) goto LABEL_9; v4 = (_QWORD *)(a1 + 696); result = strlen(__s); v6 = *(char *)(a1 + 719); if ( v6 < 0 ) { if ( result != *(_QWORD *)(a1 + 704) ) return result; if ( result == -1 ) sub_100050040(); v4 = (_QWORD *)*v4; } else if ( result != v6 ) { return result; } result = memcmp(v4, __s, result); if ( !(_DWORD)result ) { LABEL_9: if ( *(_QWORD *)(GameLevelManager::sharedState() + 1224) == a1 + 664 ) *(_QWORD *)(GameLevelManager::sharedState() + 1224) = 0; v7 = *(_QWORD *)(a1 + 720); if ( v7 ) { LoadingCircle::fadeAndRemove(v7); *(_QWORD *)(a1 + 720) = 0; } v8 = *(_QWORD *)(cocos2d::CCDirector::sharedDirector() + 272); if ( *(_BYTE *)(a1 + 676) ) v9 = "List not found"; else v9 = "Level not found"; sub_100009900(v13, v9); sub_100009900(__p, ""); v10 = TextAlertPopup::create((__int64)v13, 150, (__int64)__p, 0.5, 0.6); (*(void (__fastcall **)(__int64, _QWORD *, __int64))(*(_QWORD *)v8 + 464LL))(v8, v10, 1000); if ( v12 < 0 ) operator delete(__p[0]); if ( v14 < 0 ) operator delete(v13[0]); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 1072LL))(a1, 0); return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 528LL))(a1, 1); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source