// // LevelPickerPopup::loadLevelsFinished from 0x100505f5c to 0x10050606c (272 bytes) // // 2 xrefs: // > sub_1005061A4 @ 0x1005061a8 // > @ 0x100997940 // // 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:56 +0000 // __int64 __fastcall LevelPickerPopup::loadLevelsFinished(__int64 result, __int64 a2, char *__s) { __int64 v5; // x19 _QWORD *v6; // x22 __int64 v7; // x8 __int64 v8; // x21 __int64 v9; // x1 const char *v10; // x1 if ( *(_BYTE *)(result + 808) == 1 ) { v5 = result; if ( !__s ) goto LABEL_11; v6 = (_QWORD *)(result + 840); result = strlen(__s); v7 = *(char *)(v5 + 863); if ( v7 < 0 ) { if ( result != *(_QWORD *)(v5 + 848) ) return result; if ( result == -1 ) sub_100050040(); v6 = (_QWORD *)*v6; } else if ( result != v7 ) { return result; } result = memcmp(v6, __s, result); if ( !(_DWORD)result ) { LABEL_11: sub_10051B1EC(v5); if ( a2 ) { v8 = sub_1002E757C(a2); if ( (int)v8 <= 0 ) v9 = 0; else v9 = a2; sub_100506074(v5, v9); if ( (_DWORD)v8 ) return sub_10051B2A8(v5, *(unsigned int *)(v5 + 864), *(unsigned int *)(v5 + 868), v8); } else { sub_100506074(v5, 0); } if ( *(_BYTE *)(v5 + 809) ) v10 = "No online lists"; else v10 = "No online levels"; sub_10051B1FC(v5, v10); v8 = 0; return sub_10051B2A8(v5, *(unsigned int *)(v5 + 864), *(unsigned int *)(v5 + 868), v8); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source