{"type": "func", "start": 4300632992, "end": 4300633733, "name": "GameLevelManager::getGJUserInfo", "pseudocode": "// \n// GameLevelManager::getGJUserInfo from 0x1005673a0 to 0x100567685 (741 bytes)\n// \n// 5 xrefs:\n// > ParentalPrivacyPopup::init @ 0x1008872de\n// > ProfilePage::init @ 0x10089e677\n// > ProfilePage::onUpdate @ 0x10089f016\n// > ProfilePage::onUpdate @ 0x10089f0b4\n// > ProfilePage::updateUserScoreFinished @ 0x1008a5ec1\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 12:32:11 +0000\n// \n\nvoid __fastcall GameLevelManager::getGJUserInfo(__int64 a1)\n{\n  __int64 v1; // rax\n  const char *CString; // r14\n  __int64 v3; // rax\n  __int64 v4; // rax\n  __int64 v5; // rax\n  __int64 v6; // rax\n  const std::string::value_type *v7; // rax\n  const char *data; // r15\n  size_t v9; // rax\n  size_t v10; // r12\n  char *v11; // r13\n  size_t v12; // rbx\n  size_t v13; // rax\n  size_t v14; // r15\n  char *v15; // r12\n  size_t v16; // rbx\n  char v17; // [rsp+0h] [rbp-A0h]\n  char v18; // [rsp+0h] [rbp-A0h]\n  std::string v19; // [rsp+18h] [rbp-88h] BYREF\n  std::string v20; // [rsp+30h] [rbp-70h] BYREF\n  _QWORD __dst[2]; // [rsp+48h] [rbp-58h] BYREF\n  void *v22; // [rsp+58h] [rbp-48h]\n  __int128 v23; // [rsp+60h] [rbp-40h] BYREF\n  void *__p; // [rsp+70h] [rbp-30h]\n\n  v1 = sub_10088E820(\"account_%i\", v17);\n  CString = (const char *)cocos2d::CCString::getCString(v1);\n  if ( GameLevelManager::isDLActive(a1, CString) )\n    return;\n  GameLevelManager::addDLToActive(a1, CString);\n  GameLevelManager::getBasePostString(&v20);\n  v3 = GameManager::sharedState();\n  GameManager::getIntGameVariable(v3, \"0239\");\n  v4 = GameManager::sharedState();\n  GameManager::safeModeEnabled(v4);\n  v5 = sub_10088E820(\"%c%s%s%c%c%s\", (char)\"7\");\n  cocos2d::CCString::getCString(v5);\n  v6 = sub_10088E820(\"&targetAccountID=%i&notifMask=%i&secret=%s\", v18);\n  v7 = (const std::string::value_type *)cocos2d::CCString::getCString(v6);\n  std::string::append(&v20, v7);\n  v19.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x38u);\n  v19.__r_.__value_.__r.__words[0] = 57;\n  v19.__r_.__value_.__l.__size_ = 54;\n  strcpy(v19.__r_.__value_.__l.__data_, \"https://www.boomlings.com/database/getGJUserInfo20.php\");\n  if ( (*(_BYTE *)&v20.__r_.__value_.__s.0 & 1) != 0 )\n    data = v20.__r_.__value_.__l.__data_;\n  else\n    data = v20.__r_.__value_.__s.__data_;\n  v9 = strlen(data);\n  if ( v9 >= 0xFFFFFFFFFFFFFFF8LL )\n    sub_100003630();\n  v10 = v9;\n  if ( v9 >= 0x17 )\n  {\n    v12 = 26;\n    if ( (v9 | 7) != 0x17 )\n      v12 = (v9 | 7) + 1;\n    v11 = (char *)operator new(v12);\n    v22 = v11;\n    __dst[0] = v12 | 1;\n    __dst[1] = v10;\n    goto LABEL_12;\n  }\n  LOBYTE(__dst[0]) = 2 * v9;\n  v11 = (char *)__dst + 1;\n  if ( v9 )\nLABEL_12:\n    memmove(v11, data, v10);\n  v11[v10] = 0;\n  v13 = strlen(CString);\n  if ( v13 >= 0xFFFFFFFFFFFFFFF8LL )\n    sub_100003630();\n  v14 = v13;\n  if ( v13 >= 0x17 )\n  {\n    v16 = 26;\n    if ( (v13 | 7) != 0x17 )\n      v16 = (v13 | 7) + 1;\n    v15 = (char *)operator new(v16);\n    __p = v15;\n    *(_QWORD *)&v23 = v16 | 1;\n    *((_QWORD *)&v23 + 1) = v14;\n    goto LABEL_20;\n  }\n  LOBYTE(v23) = 2 * v13;\n  v15 = (char *)&v23 + 1;\n  if ( v13 )\nLABEL_20:\n    memmove(v15, CString, v14);\n  v15[v14] = 0;\n  GameLevelManager::ProcessHttpRequest(a1, &v19, (__int64)__dst, &v23, 0x21u);\n  if ( (v23 & 1) == 0 )\n  {\n    if ( (__dst[0] & 1) == 0 )\n      goto LABEL_23;\nLABEL_28:\n    operator delete(v22);\n    if ( (*(_BYTE *)&v19.__r_.__value_.__s.0 & 1) == 0 )\n    {\nLABEL_24:\n      if ( (*(_BYTE *)&v20.__r_.__value_.__s.0 & 1) == 0 )\n        return;\n      goto LABEL_25;\n    }\n    goto LABEL_29;\n  }\n  operator delete(__p);\n  if ( (__dst[0] & 1) != 0 )\n    goto LABEL_28;\nLABEL_23:\n  if ( (*(_BYTE *)&v19.__r_.__value_.__s.0 & 1) == 0 )\n    goto LABEL_24;\nLABEL_29:\n  operator delete(v19.__r_.__value_.__l.__data_);\n  if ( (*(_BYTE *)&v20.__r_.__value_.__s.0 & 1) != 0 )\nLABEL_25:\n    operator delete(v20.__r_.__value_.__l.__data_);\n}", "assembly": "; \n; GameLevelManager::getGJUserInfo from 0x1005673a0 to 0x100567685 (741 bytes)\n; \n; 5 xrefs:\n; > ParentalPrivacyPopup::init @ 0x1008872de\n; > ProfilePage::init @ 0x10089e677\n; > ProfilePage::onUpdate @ 0x10089f016\n; > ProfilePage::onUpdate @ 0x10089f0b4\n; > ProfilePage::updateUserScoreFinished @ 0x1008a5ec1\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 12:32:11 +0000\n; \npush    rbp                                                            ; +0x0, 0x1005673a0\nmov     rbp, rsp                                                       ; +0x1, 0x1005673a1\npush    r15                                                            ; +0x4, 0x1005673a4\npush    r14                                                            ; +0x6, 0x1005673a6\npush    r13                                                            ; +0x8, 0x1005673a8\npush    r12                                                            ; +0xa, 0x1005673aa\npush    rbx                                                            ; +0xc, 0x1005673ac\nsub     rsp, 78h                                                       ; +0xd, 0x1005673ad\nmov     r15d, esi                                                      ; +0x11, 0x1005673b1\nmov     r13, rdi                                                       ; +0x14, 0x1005673b4\nlea     rdi, aAccountI; \"account_%i\"                                   ; +0x17, 0x1005673b7\nxor     eax, eax                                                       ; +0x1e, 0x1005673be\ncall    sub_10088E820                                                  ; +0x20, 0x1005673c0\nmov     rdi, rax                                                       ; +0x25, 0x1005673c5\ncall    cocos2d__CCString__getCString                                  ; +0x28, 0x1005673c8\nmov     r14, rax                                                       ; +0x2d, 0x1005673cd\nmov     rdi, r13                                                       ; +0x30, 0x1005673d0\nmov     rsi, rax                                                       ; +0x33, 0x1005673d3\ncall    GameLevelManager__isDLActive                                   ; +0x36, 0x1005673d6\ntest    al, al                                                         ; +0x3b, 0x1005673db\njnz     loc_100567636                                                  ; +0x3d, 0x1005673dd\nmov     rdi, r13                                                       ; +0x43, 0x1005673e3\nmov     rsi, r14                                                       ; +0x46, 0x1005673e6\ncall    GameLevelManager__addDLToActive                                ; +0x49, 0x1005673e9\nlea     rdi, [rbp+var_70]; this                                        ; +0x4e, 0x1005673ee\ncall    GameLevelManager__getBasePostString                            ; +0x52, 0x1005673f2\ncall    GameManager__sharedState                                       ; +0x57, 0x1005673f7\nlea     rsi, a0239; \"0239\"                                             ; +0x5c, 0x1005673fc\nmov     rdi, rax                                                       ; +0x63, 0x100567403\ncall    GameManager__getIntGameVariable                                ; +0x66, 0x100567406\ntest    eax, eax                                                       ; +0x6b, 0x10056740b\nmovzx   eax, ax                                                        ; +0x6d, 0x10056740d\nmov     ebx, 0FFFFh                                                    ; +0x70, 0x100567410\ncmovnz  ebx, eax                                                       ; +0x75, 0x100567415\ncall    GameManager__sharedState                                       ; +0x78, 0x100567418\nmov     rdi, rax                                                       ; +0x7d, 0x10056741d\ncall    GameManager__safeModeEnabled                                   ; +0x80, 0x100567420\nmov     r12d, ebx                                                      ; +0x85, 0x100567425\nand     r12d, 0FFFFFFFCh                                               ; +0x88, 0x100567428\ntest    al, al                                                         ; +0x8c, 0x10056742c\ncmovz   r12d, ebx                                                      ; +0x8e, 0x10056742e\nlea     rax, a7; \"7\"                                                   ; +0x92, 0x100567432\nmov     qword ptr [rsp+0A0h+var_A0], rax; char                         ; +0x99, 0x100567439\nlea     rdi, aCSSCCS; \"%c%s%s%c%c%s\"                                   ; +0x9d, 0x10056743d\nlea     rdx, aMfd; \"mfd\"                                               ; +0xa4, 0x100567444\nlea     rcx, a2893; \"2893\"                                             ; +0xab, 0x10056744b\nmov     esi, 57h ; 'W'                                                 ; +0xb2, 0x100567452\nmov     r8d, 67h ; 'g'                                                 ; +0xb7, 0x100567457\nmov     r9d, 62h ; 'b'                                                 ; +0xbd, 0x10056745d\nxor     eax, eax                                                       ; +0xc3, 0x100567463\ncall    sub_10088E820                                                  ; +0xc5, 0x100567465\nmov     rdi, rax                                                       ; +0xca, 0x10056746a\ncall    cocos2d__CCString__getCString                                  ; +0xcd, 0x10056746d\nlea     rdi, aTargetaccounti; \"&targetAccountID=%i&notifMask=%i&secret\"... ; +0xd2, 0x100567472\nmov     esi, r15d                                                      ; +0xd9, 0x100567479\nmov     edx, r12d                                                      ; +0xdc, 0x10056747c\nmov     rcx, rax                                                       ; +0xdf, 0x10056747f\nxor     eax, eax                                                       ; +0xe2, 0x100567482\ncall    sub_10088E820                                                  ; +0xe4, 0x100567484\nmov     rdi, rax                                                       ; +0xe9, 0x100567489\ncall    cocos2d__CCString__getCString                                  ; +0xec, 0x10056748c\nlea     rdi, [rbp+var_70]; this                                        ; +0xf1, 0x100567491\nmov     rsi, rax; __s                                                  ; +0xf5, 0x100567495\ncall    __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendEPKc; std::string::append(char const*) ; +0xf8, 0x100567498\nmov     edi, 38h ; '8'; __sz                                           ; +0xfd, 0x10056749d\ncall    __Znwm; operator new(ulong)                                    ; +0x102, 0x1005674a2\nmov     [rbp+var_78], rax                                              ; +0x107, 0x1005674a7\nmov     [rbp+var_88], 39h ; '9'                                        ; +0x10b, 0x1005674ab\nmov     [rbp+var_80], 36h ; '6'                                        ; +0x116, 0x1005674b6\nmovups  xmm0, xmmword ptr cs:aHttpsWwwBoomli_45+20h; \"se/getGJUserInfo20.php\" ; +0x11e, 0x1005674be\nmovups  xmmword ptr [rax+20h], xmm0                                    ; +0x125, 0x1005674c5\nmovups  xmm0, xmmword ptr cs:aHttpsWwwBoomli_45+10h; \"lings.com/database/getGJUserInfo20.php\" ; +0x129, 0x1005674c9\nmovups  xmmword ptr [rax+10h], xmm0                                    ; +0x130, 0x1005674d0\nmovups  xmm0, xmmword ptr cs:aHttpsWwwBoomli_45; \"https://www.boomlings.com/database/getG\"... ; +0x134, 0x1005674d4\nmovups  xmmword ptr [rax], xmm0                                        ; +0x13b, 0x1005674db\nmov     rcx, 7068702E30326F66h                                         ; +0x13e, 0x1005674de\nmov     [rax+2Eh], rcx                                                 ; +0x148, 0x1005674e8\nmov     byte ptr [rax+36h], 0                                          ; +0x14c, 0x1005674ec\ntest    byte ptr [rbp+var_70.__r_.__value_], 1                         ; +0x150, 0x1005674f0\njz      short loc_1005674FC                                            ; +0x154, 0x1005674f4\nmov     r15, qword ptr [rbp+var_70.__r_.__value_+10h]                  ; +0x156, 0x1005674f6\njmp     short loc_100567500                                            ; +0x15a, 0x1005674fa\nlea     r15, [rbp+var_70.__r_.__value_+1]                              ; +0x15c, 0x1005674fc\nmov     rdi, r15; __s                                                  ; +0x160, 0x100567500\ncall    _strlen                                                        ; +0x163, 0x100567503\ncmp     rax, 0FFFFFFFFFFFFFFF8h                                        ; +0x168, 0x100567508\njnb     loc_100567677                                                  ; +0x16c, 0x10056750c\nmov     r12, rax                                                       ; +0x172, 0x100567512\nmov     [rbp+var_90], r13                                              ; +0x175, 0x100567515\ncmp     rax, 17h                                                       ; +0x17c, 0x10056751c\njnb     short loc_100567534                                            ; +0x180, 0x100567520\nlea     eax, [r12+r12]                                                 ; +0x182, 0x100567522\nmov     byte ptr [rbp+__dst], al                                       ; +0x186, 0x100567526\nlea     r13, [rbp+__dst+1]                                             ; +0x189, 0x100567529\ntest    r12, r12                                                       ; +0x18d, 0x10056752d\njnz     short loc_100567567                                            ; +0x190, 0x100567530\njmp     short loc_100567575                                            ; +0x192, 0x100567532\nmov     rax, r12                                                       ; +0x194, 0x100567534\nor      rax, 7                                                         ; +0x197, 0x100567537\nlea     rcx, [rax+1]                                                   ; +0x19b, 0x10056753b\ncmp     rax, 17h                                                       ; +0x19f, 0x10056753f\nmov     ebx, 1Ah                                                       ; +0x1a3, 0x100567543\ncmovnz  rbx, rcx                                                       ; +0x1a8, 0x100567548\nmov     rdi, rbx; __sz                                                 ; +0x1ac, 0x10056754c\ncall    __Znwm; operator new(ulong)                                    ; +0x1af, 0x10056754f\nmov     r13, rax                                                       ; +0x1b4, 0x100567554\nmov     [rbp+var_48], rax                                              ; +0x1b7, 0x100567557\nor      rbx, 1                                                         ; +0x1bb, 0x10056755b\nmov     [rbp+__dst], rbx                                               ; +0x1bf, 0x10056755f\nmov     [rbp+var_50], r12                                              ; +0x1c3, 0x100567563\nmov     rdi, r13; __dst                                                ; +0x1c7, 0x100567567\nmov     rsi, r15; __src                                                ; +0x1ca, 0x10056756a\nmov     rdx, r12; __len                                                ; +0x1cd, 0x10056756d\ncall    _memmove                                                       ; +0x1d0, 0x100567570\nmov     byte ptr [r13+r12+0], 0                                        ; +0x1d5, 0x100567575\nmov     rdi, r14; __s                                                  ; +0x1db, 0x10056757b\ncall    _strlen                                                        ; +0x1de, 0x10056757e\ncmp     rax, 0FFFFFFFFFFFFFFF8h                                        ; +0x1e3, 0x100567583\njnb     loc_10056767E                                                  ; +0x1e7, 0x100567587\nmov     r15, rax                                                       ; +0x1ed, 0x10056758d\ncmp     rax, 17h                                                       ; +0x1f0, 0x100567590\nmov     r13, [rbp+var_90]                                              ; +0x1f4, 0x100567594\njnb     short loc_1005675AF                                            ; +0x1fb, 0x10056759b\nlea     eax, [r15+r15]                                                 ; +0x1fd, 0x10056759d\nmov     byte ptr [rbp+var_40], al                                      ; +0x201, 0x1005675a1\nlea     r12, [rbp+var_40+1]                                            ; +0x204, 0x1005675a4\ntest    r15, r15                                                       ; +0x208, 0x1005675a8\njnz     short loc_1005675E2                                            ; +0x20b, 0x1005675ab\njmp     short loc_1005675F0                                            ; +0x20d, 0x1005675ad\nmov     rax, r15                                                       ; +0x20f, 0x1005675af\nor      rax, 7                                                         ; +0x212, 0x1005675b2\nlea     rcx, [rax+1]                                                   ; +0x216, 0x1005675b6\ncmp     rax, 17h                                                       ; +0x21a, 0x1005675ba\nmov     ebx, 1Ah                                                       ; +0x21e, 0x1005675be\ncmovnz  rbx, rcx                                                       ; +0x223, 0x1005675c3\nmov     rdi, rbx; __sz                                                 ; +0x227, 0x1005675c7\ncall    __Znwm; operator new(ulong)                                    ; +0x22a, 0x1005675ca\nmov     r12, rax                                                       ; +0x22f, 0x1005675cf\nmov     [rbp+__p], rax                                                 ; +0x232, 0x1005675d2\nor      rbx, 1                                                         ; +0x236, 0x1005675d6\nmov     [rbp+var_40], rbx                                              ; +0x23a, 0x1005675da\nmov     [rbp+var_38], r15                                              ; +0x23e, 0x1005675de\nmov     rdi, r12; __dst                                                ; +0x242, 0x1005675e2\nmov     rsi, r14; __src                                                ; +0x245, 0x1005675e5\nmov     rdx, r15; __len                                                ; +0x248, 0x1005675e8\ncall    _memmove                                                       ; +0x24b, 0x1005675eb\nmov     byte ptr [r12+r15], 0                                          ; +0x250, 0x1005675f0\nlea     rsi, [rbp+var_88]                                              ; +0x255, 0x1005675f5\nlea     rdx, [rbp+__dst]                                               ; +0x25c, 0x1005675fc\nlea     rcx, [rbp+var_40]                                              ; +0x260, 0x100567600\nmov     rdi, r13                                                       ; +0x264, 0x100567604\nmov     r8d, 21h ; '!'                                                 ; +0x267, 0x100567607\ncall    GameLevelManager__ProcessHttpRequest                           ; +0x26d, 0x10056760d\ntest    byte ptr [rbp+var_40], 1                                       ; +0x272, 0x100567612\njnz     short loc_100567645                                            ; +0x276, 0x100567616\ntest    byte ptr [rbp+__dst], 1                                        ; +0x278, 0x100567618\njnz     short loc_100567654                                            ; +0x27c, 0x10056761c\ntest    byte ptr [rbp+var_88], 1                                       ; +0x27e, 0x10056761e\njnz     short loc_100567666                                            ; +0x285, 0x100567625\ntest    byte ptr [rbp+var_70.__r_.__value_], 1                         ; +0x287, 0x100567627\njz      short loc_100567636                                            ; +0x28b, 0x10056762b\nmov     rdi, qword ptr [rbp+var_70.__r_.__value_+10h]; __p             ; +0x28d, 0x10056762d\ncall    __ZdlPv; operator delete(void *)                               ; +0x291, 0x100567631\nadd     rsp, 78h                                                       ; +0x296, 0x100567636\npop     rbx                                                            ; +0x29a, 0x10056763a\npop     r12                                                            ; +0x29b, 0x10056763b\npop     r13                                                            ; +0x29d, 0x10056763d\npop     r14                                                            ; +0x29f, 0x10056763f\npop     r15                                                            ; +0x2a1, 0x100567641\npop     rbp                                                            ; +0x2a3, 0x100567643\nretn                                                                   ; +0x2a4, 0x100567644\nmov     rdi, [rbp+__p]; __p                                            ; +0x2a5, 0x100567645\ncall    __ZdlPv; operator delete(void *)                               ; +0x2a9, 0x100567649\ntest    byte ptr [rbp+__dst], 1                                        ; +0x2ae, 0x10056764e\njz      short loc_10056761E                                            ; +0x2b2, 0x100567652\nmov     rdi, [rbp+var_48]; __p                                         ; +0x2b4, 0x100567654\ncall    __ZdlPv; operator delete(void *)                               ; +0x2b8, 0x100567658\ntest    byte ptr [rbp+var_88], 1                                       ; +0x2bd, 0x10056765d\njz      short loc_100567627                                            ; +0x2c4, 0x100567664\nmov     rdi, [rbp+var_78]; __p                                         ; +0x2c6, 0x100567666\ncall    __ZdlPv; operator delete(void *)                               ; +0x2ca, 0x10056766a\ntest    byte ptr [rbp+var_70.__r_.__value_], 1                         ; +0x2cf, 0x10056766f\njnz     short loc_10056762D                                            ; +0x2d3, 0x100567673\njmp     short loc_100567636                                            ; +0x2d5, 0x100567675\ncall    sub_100003630                                                  ; +0x2d7, 0x100567677\njmp     short loc_100567683                                            ; +0x2dc, 0x10056767c\ncall    sub_100003630                                                  ; +0x2de, 0x10056767e\nud2                                                                    ; +0x2e3, 0x100567683", "xrefs": ["ParentalPrivacyPopup::init @ 0x1008872de", "ProfilePage::init @ 0x10089e677", "ProfilePage::onUpdate @ 0x10089f016", "ProfilePage::onUpdate @ 0x10089f0b4", "ProfilePage::updateUserScoreFinished @ 0x1008a5ec1"], "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"}