{"type": "func", "start": 5371163216, "end": 5371163773, "name": "GameLevelManager::getUserList", "pseudocode": "// \n// GameLevelManager::getUserList from 0x140257250 to 0x14025747d (557 bytes)\n// \n// 4 xrefs:\n// > FriendPickerPopup::init @ 0x1400e7591\n// > FriendsProfilePage::init @ 0x14021454f\n// > FriendsProfilePage::forceReloadList @ 0x1402157a8\n// > <???> @ 0x14091c634\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:28:44 +0000\n// \n\n// Hidden C++ exception states: #wind=3\nvoid __fastcall GameLevelManager::getUserList(cocos2d::CCActionManager **a1, int a2)\n{\n  __int64 *v4; // rdi\n  __int64 v5; // rcx\n  cocos2d::CCString *v6; // rax\n  const char *CString; // rax\n  cocos2d::CCString *v8; // rax\n  char *v9; // rax\n  size_t v10; // rbx\n  size_t v11; // r8\n  size_t v12; // r8\n  _QWORD *v13; // rdx\n  __int128 v14; // [rsp+40h] [rbp-59h] BYREF\n  __int64 v15; // [rsp+50h] [rbp-49h]\n  __int64 v16; // [rsp+58h] [rbp-41h]\n  __int128 v17; // [rsp+60h] [rbp-39h] BYREF\n  __int64 v18; // [rsp+70h] [rbp-29h]\n  __int64 v19; // [rsp+78h] [rbp-21h]\n  __int128 v20; // [rsp+80h] [rbp-19h] BYREF\n  __int64 v21; // [rsp+90h] [rbp-9h]\n  __int64 v22; // [rsp+98h] [rbp-1h]\n  __int128 *v23; // [rsp+A0h] [rbp+7h]\n  __int128 *v24; // [rsp+A8h] [rbp+Fh]\n  _QWORD Src[4]; // [rsp+B8h] [rbp+1Fh] BYREF\n\n  if ( a2 )\n  {\n    if ( a2 == 3 )\n    {\n      v4 = &qword_14075A508;\n    }\n    else\n    {\n      v4 = &qword_14075A4F8;\n      if ( a2 != 4 )\n        v4 = (__int64 *)\"get_blocked\";\n    }\n  }\n  else\n  {\n    v4 = (__int64 *)\"get_friends\";\n  }\n  if ( !GameLevelManager::isDLActive((__int64)a1, v4) )\n  {\n    GameLevelManager::addDLToActive((__int64)a1, v4);\n    GameLevelManager::getBasePostString(v5, Src);\n    v6 = cocos2d::CCString::createWithFormat(\"%c%s%s%c%c%s\", 87, \"mfd\", \"2893\", 103, 98, (const char *)&word_14070D040);\n    CString = cocos2d::CCString::getCString(v6);\n    v8 = cocos2d::CCString::createWithFormat(\"&type=%i&secret=%s\", a2, CString);\n    v9 = (char *)cocos2d::CCString::getCString(v8);\n    v10 = -1;\n    v11 = -1;\n    do\n      ++v11;\n    while ( v9[v11] );\n    sub_140044D80(Src, v9, v11);\n    v23 = &v17;\n    v24 = &v20;\n    v17 = 0;\n    v18 = 0;\n    v19 = 0;\n    v12 = -1;\n    do\n      ++v12;\n    while ( *((_BYTE *)v4 + v12) );\n    sub_14003D230(&v17, v4, v12);\n    v13 = Src;\n    if ( Src[3] > 0xFu )\n      v13 = (_QWORD *)Src[0];\n    v20 = 0;\n    v21 = 0;\n    v22 = 0;\n    do\n      ++v10;\n    while ( *((_BYTE *)v13 + v10) );\n    sub_14003D230(&v20, v13, v10);\n    v14 = 0;\n    *(_QWORD *)&v14 = sub_14003D460(0x40u);\n    v15 = 54;\n    v16 = 63;\n    strcpy((char *)v14, \"https://www.boomlings.com/database/getGJUserList20.php\");\n    GameLevelManager::ProcessHttpRequest(a1, (__int64)&v14, (const char *)&v20, (const char *)&v17, 0x2Au);\n    sub_14003D310((__int64)Src);\n  }\n}", "assembly": "; \n; GameLevelManager::getUserList from 0x140257250 to 0x14025747d (557 bytes)\n; \n; 4 xrefs:\n; > FriendPickerPopup::init @ 0x1400e7591\n; > FriendsProfilePage::init @ 0x14021454f\n; > FriendsProfilePage::forceReloadList @ 0x1402157a8\n; > <???> @ 0x14091c634\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:28:44 +0000\n; \nmov     [rsp-8+arg_10], rbx                                            ; +0x0, 0x140257250\nmov     [rsp-8+arg_18], rsi                                            ; +0x5, 0x140257255\npush    rbp                                                            ; +0xa, 0x14025725a\npush    rdi                                                            ; +0xb, 0x14025725b\npush    r14                                                            ; +0xc, 0x14025725c\nlea     rbp, [rsp-47h]                                                 ; +0xe, 0x14025725e\nsub     rsp, 0E0h                                                      ; +0x13, 0x140257263\nmov     rax, cs:__security_cookie                                      ; +0x1a, 0x14025726a\nxor     rax, rsp                                                       ; +0x21, 0x140257271\nmov     [rbp+57h+var_18], rax                                          ; +0x24, 0x140257274\nmov     ebx, edx                                                       ; +0x28, 0x140257278\nmov     rsi, rcx                                                       ; +0x2a, 0x14025727a\ntest    edx, edx                                                       ; +0x2d, 0x14025727d\njnz     short loc_14025728A                                            ; +0x2f, 0x14025727f\nlea     rdi, aGetFriends; \"get_friends\"                                ; +0x31, 0x140257281\njmp     short loc_1402572AD                                            ; +0x38, 0x140257288\ncmp     ebx, 3                                                         ; +0x3a, 0x14025728a\njnz     short loc_140257298                                            ; +0x3d, 0x14025728d\nlea     rdi, qword_14075A508                                           ; +0x3f, 0x14025728f\njmp     short loc_1402572AD                                            ; +0x46, 0x140257296\nlea     rdi, qword_14075A4F8                                           ; +0x48, 0x140257298\nlea     rax, aGetBlocked; \"get_blocked\"                                ; +0x4f, 0x14025729f\ncmp     ebx, 4                                                         ; +0x56, 0x1402572a6\ncmovnz  rdi, rax                                                       ; +0x59, 0x1402572a9\nmov     rdx, rdi                                                       ; +0x5d, 0x1402572ad\ncall    GameLevelManager__isDLActive                                   ; +0x60, 0x1402572b0\ntest    al, al                                                         ; +0x65, 0x1402572b5\njnz     loc_140257459                                                  ; +0x67, 0x1402572b7\nmov     rdx, rdi                                                       ; +0x6d, 0x1402572bd\nmov     rcx, rsi                                                       ; +0x70, 0x1402572c0\ncall    GameLevelManager__addDLToActive                                ; +0x73, 0x1402572c3\nlea     rdx, [rbp+57h+Src]                                             ; +0x78, 0x1402572c8\ncall    GameLevelManager__getBasePostString                            ; +0x7c, 0x1402572cc\nnop                                                                    ; +0x81, 0x1402572d1\nlea     rax, word_14070D040                                            ; +0x82, 0x1402572d2\nmov     [rsp+0F0h+var_C0], rax                                         ; +0x89, 0x1402572d9\nmov     [rsp+0F0h+var_C8], 62h ; 'b'                                   ; +0x8e, 0x1402572de\nmov     [rsp+0F0h+var_D0], 67h ; 'g'                                   ; +0x96, 0x1402572e6\nlea     r9, a2893; \"2893\"                                              ; +0x9e, 0x1402572ee\nlea     r8, aMfd; \"mfd\"                                                ; +0xa5, 0x1402572f5\nmov     edx, 57h ; 'W'                                                 ; +0xac, 0x1402572fc\nlea     rcx, aCSSCCS; \"%c%s%s%c%c%s\"                                   ; +0xb1, 0x140257301\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0xb8, 0x140257308\nmov     rcx, rax                                                       ; +0xbe, 0x14025730e\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0xc1, 0x140257311\nmov     r8, rax                                                        ; +0xc7, 0x140257317\nmov     edx, ebx                                                       ; +0xca, 0x14025731a\nlea     rcx, aTypeISecretS; \"&type=%i&secret=%s\"                       ; +0xcc, 0x14025731c\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0xd3, 0x140257323\nmov     rcx, rax                                                       ; +0xd9, 0x140257329\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0xdc, 0x14025732c\nmov     rbx, 0FFFFFFFFFFFFFFFFh                                        ; +0xe2, 0x140257332\nmov     r8, rbx                                                        ; +0xe9, 0x140257339\nnop     dword ptr [rax+00h]                                            ; +0xec, 0x14025733c\ninc     r8; Size                                                       ; +0xf0, 0x140257340\ncmp     byte ptr [rax+r8], 0                                           ; +0xf3, 0x140257343\njnz     short loc_140257340                                            ; +0xf8, 0x140257348\nmov     rdx, rax; void *                                               ; +0xfa, 0x14025734a\nlea     rcx, [rbp+57h+Src]; Src                                        ; +0xfd, 0x14025734d\ncall    sub_140044D80                                                  ; +0x101, 0x140257351\nlea     rax, [rbp+57h+var_90]                                          ; +0x106, 0x140257356\nmov     [rbp+57h+var_50], rax                                          ; +0x10a, 0x14025735a\nlea     rax, [rbp+57h+var_70]                                          ; +0x10e, 0x14025735e\nmov     [rbp+57h+var_48], rax                                          ; +0x112, 0x140257362\nxorps   xmm0, xmm0                                                     ; +0x116, 0x140257366\nmovups  [rbp+57h+var_90], xmm0                                         ; +0x119, 0x140257369\nxor     r14d, r14d                                                     ; +0x11d, 0x14025736d\nmov     [rbp+57h+var_80], r14                                          ; +0x120, 0x140257370\nmov     [rbp+57h+var_78], r14                                          ; +0x124, 0x140257374\nmov     r8, rbx                                                        ; +0x128, 0x140257378\nnop     dword ptr [rax+rax+00h]                                        ; +0x12b, 0x14025737b\ninc     r8                                                             ; +0x130, 0x140257380\ncmp     [rdi+r8], r14b                                                 ; +0x133, 0x140257383\njnz     short loc_140257380                                            ; +0x137, 0x140257387\nmov     rdx, rdi                                                       ; +0x139, 0x140257389\nlea     rcx, [rbp+57h+var_90]                                          ; +0x13c, 0x14025738c\ncall    sub_14003D230                                                  ; +0x140, 0x140257390\nnop                                                                    ; +0x145, 0x140257395\nlea     rdx, [rbp+57h+Src]                                             ; +0x146, 0x140257396\ncmp     [rbp+57h+var_20], 0Fh                                          ; +0x14a, 0x14025739a\ncmova   rdx, [rbp+57h+Src]                                             ; +0x14f, 0x14025739f\nxorps   xmm0, xmm0                                                     ; +0x154, 0x1402573a4\nmovups  [rbp+57h+var_70], xmm0                                         ; +0x157, 0x1402573a7\nmov     [rbp+57h+var_60], r14                                          ; +0x15b, 0x1402573ab\nmov     [rbp+57h+var_58], r14                                          ; +0x15f, 0x1402573af\ninc     rbx                                                            ; +0x163, 0x1402573b3\ncmp     byte ptr [rdx+rbx], 0                                          ; +0x166, 0x1402573b6\njnz     short loc_1402573B3                                            ; +0x16a, 0x1402573ba\nmov     r8, rbx                                                        ; +0x16c, 0x1402573bc\nlea     rcx, [rbp+57h+var_70]                                          ; +0x16f, 0x1402573bf\ncall    sub_14003D230                                                  ; +0x173, 0x1402573c3\nnop                                                                    ; +0x178, 0x1402573c8\nxorps   xmm0, xmm0                                                     ; +0x179, 0x1402573c9\nmovups  [rbp+57h+var_B0], xmm0                                         ; +0x17c, 0x1402573cc\nmov     [rbp+57h+var_A0], r14                                          ; +0x180, 0x1402573d0\nmov     [rbp+57h+var_98], r14                                          ; +0x184, 0x1402573d4\nmov     ecx, 40h ; '@'                                                 ; +0x188, 0x1402573d8\ncall    sub_14003D460                                                  ; +0x18d, 0x1402573dd\nmov     r8, rax                                                        ; +0x192, 0x1402573e2\nmov     qword ptr [rbp+57h+var_B0], rax                                ; +0x195, 0x1402573e5\nmov     [rbp+57h+var_A0], 36h ; '6'                                    ; +0x199, 0x1402573e9\nmov     [rbp+57h+var_98], 3Fh ; '?'                                    ; +0x1a1, 0x1402573f1\nmovups  xmm0, cs:xmmword_14075A498                                     ; +0x1a9, 0x1402573f9\nmovups  xmmword ptr [rax], xmm0                                        ; +0x1b0, 0x140257400\nmovups  xmm1, cs:xmmword_14075A4A8                                     ; +0x1b3, 0x140257403\nmovups  xmmword ptr [rax+10h], xmm1                                    ; +0x1ba, 0x14025740a\nmovups  xmm0, cs:xmmword_14075A4B8                                     ; +0x1be, 0x14025740e\nmovups  xmmword ptr [rax+20h], xmm0                                    ; +0x1c5, 0x140257415\nmov     edx, cs:dword_14075A4C8                                        ; +0x1c9, 0x140257419\nmov     [rax+30h], edx                                                 ; +0x1cf, 0x14025741f\nmovzx   eax, cs:word_14075A4CC                                         ; +0x1d2, 0x140257422\nmov     [r8+34h], ax                                                   ; +0x1d9, 0x140257429\nmov     byte ptr [r8+36h], 0                                           ; +0x1de, 0x14025742e\nmov     [rsp+0F0h+var_D0], 2Ah ; '*'                                   ; +0x1e3, 0x140257433\nlea     r9, [rbp+57h+var_90]                                           ; +0x1eb, 0x14025743b\nlea     r8, [rbp+57h+var_70]                                           ; +0x1ef, 0x14025743f\nlea     rdx, [rbp+57h+var_B0]                                          ; +0x1f3, 0x140257443\nmov     rcx, rsi                                                       ; +0x1f7, 0x140257447\ncall    GameLevelManager__ProcessHttpRequest                           ; +0x1fa, 0x14025744a\nnop                                                                    ; +0x1ff, 0x14025744f\nlea     rcx, [rbp+57h+Src]                                             ; +0x200, 0x140257450\ncall    sub_14003D310                                                  ; +0x204, 0x140257454\nmov     rcx, [rbp+57h+var_18]                                          ; +0x209, 0x140257459\nxor     rcx, rsp; StackCookie                                          ; +0x20d, 0x14025745d\ncall    __security_check_cookie                                        ; +0x210, 0x140257460\nlea     r11, [rsp+0F0h+var_10]                                         ; +0x215, 0x140257465\nmov     rbx, [r11+30h]                                                 ; +0x21d, 0x14025746d\nmov     rsi, [r11+38h]                                                 ; +0x221, 0x140257471\nmov     rsp, r11                                                       ; +0x225, 0x140257475\npop     r14                                                            ; +0x228, 0x140257478\npop     rdi                                                            ; +0x22a, 0x14025747a\npop     rbp                                                            ; +0x22b, 0x14025747b\nretn                                                                   ; +0x22c, 0x14025747c", "xrefs": ["FriendPickerPopup::init @ 0x1400e7591", "FriendsProfilePage::init @ 0x14021454f", "FriendsProfilePage::forceReloadList @ 0x1402157a8", "<???> @ 0x14091c634"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}