// // LevelPickerPopup::setupPageInfo from 0x10093fd70 to 0x10093feea (378 bytes) // // 2 xrefs: // > sub_10093FF10 @ 0x10093ff1c // > @ 0x100bc4cd0 // // 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:38:30 +0000 // void __fastcall LevelPickerPopup::setupPageInfo(__int64 a1, __int64 a2, const char *a3) { size_t v5; // rax unsigned int v6; // ecx const void *v7; // rdi const char *v8; // r14 size_t v9; // rax size_t v10; // r15 char *v11; // r12 size_t v12; // r13 void *v13; // r14 __int64 v14; // rax __int64 v15; // rax _QWORD __dst[2]; // [rsp+0h] [rbp-40h] BYREF void *__p; // [rsp+10h] [rbp-30h] if ( !a3 ) goto LABEL_9; v5 = strlen(a3); v6 = *(unsigned __int8 *)(a1 + 840); if ( (v6 & 1) != 0 ) { if ( v5 != *(_QWORD *)(a1 + 848) ) return; if ( v5 == -1 ) sub_100056810(); v7 = *(const void **)(a1 + 856); } else { if ( v5 != v6 >> 1 ) return; v7 = (const void *)(a1 + 841); } if ( !memcmp(v7, a3, v5) ) { LABEL_9: if ( (*(_BYTE *)a2 & 1) != 0 ) v8 = *(const char **)(a2 + 16); else v8 = (const char *)(a2 + 1); v9 = strlen(v8); if ( v9 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100003630(); v10 = v9; if ( v9 >= 0x17 ) { v12 = 26; if ( (v9 | 7) != 0x17 ) v12 = (v9 | 7) + 1; v11 = (char *)operator new(v12); __p = v11; __dst[0] = v12 + 1; __dst[1] = v10; } else { LOBYTE(__dst[0]) = 2 * v9; v11 = (char *)__dst + 1; if ( !v9 ) goto LABEL_20; } memmove(v11, v8, v10); LABEL_20: v11[v10] = 0; v13 = sub_100935C20((unsigned __int8 *)__dst, ":"); if ( (__dst[0] & 1) != 0 ) operator delete(__p); if ( v13 ) { if ( (unsigned int)sub_1007FEF90((__int64)v13) >= 2 ) { v14 = cocos2d::CCArray::stringAtIndex((__int64)v13, 0); *(_DWORD *)(a1 + 864) = cocos2d::CCString::intValue(v14); v15 = cocos2d::CCArray::stringAtIndex((__int64)v13, 1u); *(_DWORD *)(a1 + 868) = cocos2d::CCString::intValue(v15); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source