{"type": "func", "start": 5371138576, "end": 5371139356, "name": "GameLevelManager::getFollowing", "pseudocode": "// \n// GameLevelManager::getFollowing from 0x140251210 to 0x14025151c (780 bytes)\n// \n// 3 xrefs:\n// > GameLevelManager::syncFollowListIfNeeded @ 0x140251ac7\n// > GameLevelManager::syncFollowListIfNeeded @ 0x140251af1\n// > <???> @ 0x14091c49c\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:42 +0000\n// \n\n// Hidden C++ exception states: #wind=4\nchar __fastcall GameLevelManager::getFollowing(__int64 a1)\n{\n  __int64 v2; // rbx\n  void *v3; // r8\n  __int64 v5; // rbx\n  __int64 v6; // rax\n  __int64 v7; // rcx\n  void *v8; // rcx\n  cocos2d::CCString *v9; // rax\n  const char *CString; // rax\n  cocos2d::CCString *v11; // rax\n  char *v12; // rax\n  size_t v13; // rbx\n  size_t v14; // r8\n  _QWORD *v15; // rdx\n  int Reserved; // [rsp+20h] [rbp-69h]\n  int v17; // [rsp+28h] [rbp-61h]\n  __int128 v18; // [rsp+40h] [rbp-49h] BYREF\n  __int64 v19; // [rsp+50h] [rbp-39h]\n  __int64 v20; // [rsp+58h] [rbp-31h]\n  __int128 v21; // [rsp+60h] [rbp-29h] BYREF\n  __int64 v22; // [rsp+70h] [rbp-19h]\n  __int64 v23; // [rsp+78h] [rbp-11h]\n  __int128 *v24; // [rsp+80h] [rbp-9h]\n  __int128 *v25; // [rsp+88h] [rbp-1h]\n  void *Block[2]; // [rsp+98h] [rbp+Fh] BYREF\n  __int128 v27; // [rsp+A8h] [rbp+1Fh]\n  _QWORD Src[4]; // [rsp+B8h] [rbp+2Fh] BYREF\n\n  *(_OWORD *)Block = 0;\n  v27 = 0;\n  sub_14003D230(Block, \"following\", 9u);\n  v2 = cocos2d::CCDictionary::objectForKey(*(_QWORD *)(a1 + 1192), Block);\n  if ( *((_QWORD *)&v27 + 1) > 0xFu )\n  {\n    v3 = Block[0];\n    if ( (unsigned __int64)(*((_QWORD *)&v27 + 1) + 1LL) >= 0x1000 )\n    {\n      v3 = *((void **)Block[0] - 1);\n      if ( (unsigned __int64)((char *)Block[0] - (char *)v3 - 8) > 0x1F )\n        invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n    }\n    j_j_free(v3);\n  }\n  if ( v2 )\n    return 0;\n  *(_OWORD *)Block = 0;\n  v27 = 0;\n  sub_14003D230(Block, \"following\", 9u);\n  v5 = *(_QWORD *)(a1 + 1192);\n  v6 = cocos2d::CCNode::create();\n  cocos2d::CCDictionary::setObject(v5, v6, Block);\n  if ( *((_QWORD *)&v27 + 1) > 0xFu )\n  {\n    v8 = Block[0];\n    if ( (unsigned __int64)(*((_QWORD *)&v27 + 1) + 1LL) >= 0x1000 )\n    {\n      v8 = *((void **)Block[0] - 1);\n      if ( (unsigned __int64)((char *)Block[0] - (char *)v8 - 8) > 0x1F )\n        invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n    }\n    j_j_free(v8);\n  }\n  GameLevelManager::getBasePostString(v7, Src);\n  v17 = 98;\n  Reserved = 103;\n  v9 = cocos2d::CCString::createWithFormat(\n         \"%c%s%s%c%c%s\",\n         87,\n         \"mfd\",\n         \"2893\",\n         Reserved,\n         v17,\n         (const char *)&word_14070D040);\n  CString = cocos2d::CCString::getCString(v9);\n  v11 = cocos2d::CCString::createWithFormat(\"&ack=1&secret=%s\", CString);\n  v12 = (char *)cocos2d::CCString::getCString(v11);\n  v13 = -1;\n  v14 = -1;\n  do\n    ++v14;\n  while ( v12[v14] );\n  sub_140044D80(Src, v12, v14);\n  v24 = &v18;\n  v25 = &v21;\n  v18 = 0;\n  v19 = 0;\n  v20 = 0;\n  sub_14003D230(&v18, \"following\", 9u);\n  v15 = Src;\n  if ( Src[3] > 0xFu )\n    v15 = (_QWORD *)Src[0];\n  v21 = 0;\n  v22 = 0;\n  v23 = 0;\n  do\n    ++v13;\n  while ( *((_BYTE *)v15 + v13) );\n  sub_14003D230(&v21, v15, v13);\n  *(_OWORD *)Block = 0;\n  v27 = 0u;\n  Block[0] = sub_14003D460(0x40u);\n  *(_QWORD *)&v27 = 53;\n  *((_QWORD *)&v27 + 1) = 63;\n  strcpy((char *)Block[0], \"https://www.boomlings.com/database/getGJFollowing.php\");\n  GameLevelManager::ProcessHttpRequest(\n    (cocos2d::CCActionManager **)a1,\n    (__int64)Block,\n    (const char *)&v21,\n    (const char *)&v18,\n    0x72u);\n  sub_14003D310((__int64)Src);\n  return 1;\n}", "assembly": "; \n; GameLevelManager::getFollowing from 0x140251210 to 0x14025151c (780 bytes)\n; \n; 3 xrefs:\n; > GameLevelManager::syncFollowListIfNeeded @ 0x140251ac7\n; > GameLevelManager::syncFollowListIfNeeded @ 0x140251af1\n; > <???> @ 0x14091c49c\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:42 +0000\n; \nmov     [rsp-8+arg_8], rbx                                             ; +0x0, 0x140251210\nmov     [rsp-8+arg_10], rsi                                            ; +0x5, 0x140251215\nmov     [rsp-8+arg_18], rdi                                            ; +0xa, 0x14025121a\npush    rbp                                                            ; +0xf, 0x14025121f\nlea     rbp, [rsp-57h]                                                 ; +0x10, 0x140251220\nsub     rsp, 0E0h                                                      ; +0x15, 0x140251225\nmov     rax, cs:__security_cookie                                      ; +0x1c, 0x14025122c\nxor     rax, rsp                                                       ; +0x23, 0x140251233\nmov     [rbp+57h+var_8], rax                                           ; +0x26, 0x140251236\nmov     rsi, rcx                                                       ; +0x2a, 0x14025123a\nxorps   xmm0, xmm0                                                     ; +0x2d, 0x14025123d\nmovups  xmmword ptr [rbp+57h+Block], xmm0                              ; +0x30, 0x140251240\nxorps   xmm1, xmm1                                                     ; +0x34, 0x140251244\nmovdqu  [rbp+57h+var_38], xmm1                                         ; +0x37, 0x140251247\nmov     r8d, 9                                                         ; +0x3c, 0x14025124c\nlea     rdx, aFollowing_0; \"following\"                                 ; +0x42, 0x140251252\nlea     rcx, [rbp+57h+Block]                                           ; +0x49, 0x140251259\ncall    sub_14003D230                                                  ; +0x4d, 0x14025125d\nnop                                                                    ; +0x52, 0x140251262\nlea     rdx, [rbp+57h+Block]                                           ; +0x53, 0x140251263\nmov     rcx, [rsi+4A8h]                                                ; +0x57, 0x140251267\ncall    cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::objectForKey(std::string const &) ; +0x5e, 0x14025126e\nmov     rbx, rax                                                       ; +0x64, 0x140251274\nmov     rdx, qword ptr [rbp+57h+var_38+8]                              ; +0x67, 0x140251277\ncmp     rdx, 0Fh                                                       ; +0x6b, 0x14025127b\njbe     short loc_1402512C9                                            ; +0x6f, 0x14025127f\ninc     rdx                                                            ; +0x71, 0x140251281\nmov     r8, [rbp+57h+Block]                                            ; +0x74, 0x140251284\nmov     rcx, r8                                                        ; +0x78, 0x140251288\ncmp     rdx, 1000h                                                     ; +0x7b, 0x14025128b\njb      short loc_1402512C1                                            ; +0x82, 0x140251292\nadd     rdx, 27h ; '''                                                 ; +0x84, 0x140251294\nmov     r8, [r8-8]                                                     ; +0x88, 0x140251298\nsub     rcx, r8                                                        ; +0x8c, 0x14025129c\nsub     rcx, 8                                                         ; +0x8f, 0x14025129f\ncmp     rcx, 1Fh                                                       ; +0x93, 0x1402512a3\njbe     short loc_1402512C1                                            ; +0x97, 0x1402512a7\nxor     edi, edi                                                       ; +0x99, 0x1402512a9\nmov     [rsp+0E0h+Reserved], rdi; Reserved                             ; +0x9b, 0x1402512ab\nxor     r9d, r9d; LineNo                                               ; +0xa0, 0x1402512b0\nxor     r8d, r8d; FileName                                             ; +0xa3, 0x1402512b3\nxor     edx, edx; FunctionName                                         ; +0xa6, 0x1402512b6\nxor     ecx, ecx; Expression                                           ; +0xa8, 0x1402512b8\ncall    cs:_invoke_watson                                              ; +0xaa, 0x1402512ba\ndb 0CCh                                                                ; +0xb0, 0x1402512c0\nmov     rcx, r8; Block                                                 ; +0xb1, 0x1402512c1\ncall    j_j_free                                                       ; +0xb4, 0x1402512c4\ntest    rbx, rbx                                                       ; +0xb9, 0x1402512c9\njz      short loc_1402512D5                                            ; +0xbc, 0x1402512cc\nxor     al, al                                                         ; +0xbe, 0x1402512ce\njmp     loc_1402514F7                                                  ; +0xc0, 0x1402512d0\nxorps   xmm0, xmm0                                                     ; +0xc5, 0x1402512d5\nmovups  xmmword ptr [rbp+57h+Block], xmm0                              ; +0xc8, 0x1402512d8\nxorps   xmm1, xmm1                                                     ; +0xcc, 0x1402512dc\nmovdqu  [rbp+57h+var_38], xmm1                                         ; +0xcf, 0x1402512df\nmov     r8d, 9                                                         ; +0xd4, 0x1402512e4\nlea     rdx, aFollowing_0; \"following\"                                 ; +0xda, 0x1402512ea\nlea     rcx, [rbp+57h+Block]                                           ; +0xe1, 0x1402512f1\ncall    sub_14003D230                                                  ; +0xe5, 0x1402512f5\nnop                                                                    ; +0xea, 0x1402512fa\nmov     rbx, [rsi+4A8h]                                                ; +0xeb, 0x1402512fb\ncall    cs:?create@CCNode@cocos2d@@SAPEAV12@XZ; cocos2d::CCNode::create(void) ; +0xf2, 0x140251302\nmov     rdx, rax                                                       ; +0xf8, 0x140251308\nlea     r8, [rbp+57h+Block]                                            ; +0xfb, 0x14025130b\nmov     rcx, rbx                                                       ; +0xff, 0x14025130f\ncall    cs:?setObject@CCDictionary@cocos2d@@QEAAXPEAVCCObject@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,std::string const &) ; +0x102, 0x140251312\nnop                                                                    ; +0x108, 0x140251318\nmov     rdx, qword ptr [rbp+57h+var_38+8]                              ; +0x109, 0x140251319\ncmp     rdx, 0Fh                                                       ; +0x10d, 0x14025131d\njbe     short loc_140251368                                            ; +0x111, 0x140251321\ninc     rdx                                                            ; +0x113, 0x140251323\nmov     rcx, [rbp+57h+Block]; Block                                    ; +0x116, 0x140251326\nmov     rax, rcx                                                       ; +0x11a, 0x14025132a\ncmp     rdx, 1000h                                                     ; +0x11d, 0x14025132d\njb      short loc_140251363                                            ; +0x124, 0x140251334\nadd     rdx, 27h ; '''                                                 ; +0x126, 0x140251336\nmov     rcx, [rcx-8]                                                   ; +0x12a, 0x14025133a\nsub     rax, rcx                                                       ; +0x12e, 0x14025133e\nsub     rax, 8                                                         ; +0x131, 0x140251341\ncmp     rax, 1Fh                                                       ; +0x135, 0x140251345\njbe     short loc_140251363                                            ; +0x139, 0x140251349\nxor     edi, edi                                                       ; +0x13b, 0x14025134b\nmov     [rsp+0E0h+Reserved], rdi; Reserved                             ; +0x13d, 0x14025134d\nxor     r9d, r9d; LineNo                                               ; +0x142, 0x140251352\nxor     r8d, r8d; FileName                                             ; +0x145, 0x140251355\nxor     edx, edx; FunctionName                                         ; +0x148, 0x140251358\nxor     ecx, ecx; Expression                                           ; +0x14a, 0x14025135a\ncall    cs:_invoke_watson                                              ; +0x14c, 0x14025135c\ndb 0CCh                                                                ; +0x152, 0x140251362\ncall    j_j_free                                                       ; +0x153, 0x140251363\nlea     rdx, [rbp+57h+Src]                                             ; +0x158, 0x140251368\ncall    GameLevelManager__getBasePostString                            ; +0x15c, 0x14025136c\nnop                                                                    ; +0x161, 0x140251371\nlea     rax, word_14070D040                                            ; +0x162, 0x140251372\nmov     [rsp+0E0h+var_B0], rax                                         ; +0x169, 0x140251379\nmov     [rsp+0E0h+var_B8], 62h ; 'b'                                   ; +0x16e, 0x14025137e\nmov     dword ptr [rsp+0E0h+Reserved], 67h ; 'g'                       ; +0x176, 0x140251386\nlea     r9, a2893; \"2893\"                                              ; +0x17e, 0x14025138e\nlea     r8, aMfd; \"mfd\"                                                ; +0x185, 0x140251395\nmov     edx, 57h ; 'W'                                                 ; +0x18c, 0x14025139c\nlea     rcx, aCSSCCS; \"%c%s%s%c%c%s\"                                   ; +0x191, 0x1402513a1\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x198, 0x1402513a8\nmov     rcx, rax                                                       ; +0x19e, 0x1402513ae\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x1a1, 0x1402513b1\nmov     rdx, rax                                                       ; +0x1a7, 0x1402513b7\nlea     rcx, aAck1SecretS; \"&ack=1&secret=%s\"                          ; +0x1aa, 0x1402513ba\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x1b1, 0x1402513c1\nmov     rcx, rax                                                       ; +0x1b7, 0x1402513c7\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x1ba, 0x1402513ca\nmov     rbx, 0FFFFFFFFFFFFFFFFh                                        ; +0x1c0, 0x1402513d0\nmov     r8, rbx                                                        ; +0x1c7, 0x1402513d7\nnop     word ptr [rax+rax+00h]                                         ; +0x1ca, 0x1402513da\ninc     r8; Size                                                       ; +0x1d0, 0x1402513e0\ncmp     byte ptr [rax+r8], 0                                           ; +0x1d3, 0x1402513e3\njnz     short loc_1402513E0                                            ; +0x1d8, 0x1402513e8\nmov     rdx, rax; void *                                               ; +0x1da, 0x1402513ea\nlea     rcx, [rbp+57h+Src]; Src                                        ; +0x1dd, 0x1402513ed\ncall    sub_140044D80                                                  ; +0x1e1, 0x1402513f1\nlea     rax, [rbp+57h+var_A0]                                          ; +0x1e6, 0x1402513f6\nmov     [rbp+57h+var_60], rax                                          ; +0x1ea, 0x1402513fa\nlea     rax, [rbp+57h+var_80]                                          ; +0x1ee, 0x1402513fe\nmov     [rbp+57h+var_58], rax                                          ; +0x1f2, 0x140251402\nxorps   xmm0, xmm0                                                     ; +0x1f6, 0x140251406\nmovups  [rbp+57h+var_A0], xmm0                                         ; +0x1f9, 0x140251409\nxor     edi, edi                                                       ; +0x1fd, 0x14025140d\nmov     [rbp+57h+var_90], rdi                                          ; +0x1ff, 0x14025140f\nmov     [rbp+57h+var_88], rdi                                          ; +0x203, 0x140251413\nmov     r8d, 9                                                         ; +0x207, 0x140251417\nlea     rdx, aFollowing_0; \"following\"                                 ; +0x20d, 0x14025141d\nlea     rcx, [rbp+57h+var_A0]                                          ; +0x214, 0x140251424\ncall    sub_14003D230                                                  ; +0x218, 0x140251428\nnop                                                                    ; +0x21d, 0x14025142d\nlea     rdx, [rbp+57h+Src]                                             ; +0x21e, 0x14025142e\ncmp     [rbp+57h+var_10], 0Fh                                          ; +0x222, 0x140251432\ncmova   rdx, [rbp+57h+Src]                                             ; +0x227, 0x140251437\nxorps   xmm0, xmm0                                                     ; +0x22c, 0x14025143c\nmovups  [rbp+57h+var_80], xmm0                                         ; +0x22f, 0x14025143f\nmov     [rbp+57h+var_70], rdi                                          ; +0x233, 0x140251443\nmov     [rbp+57h+var_68], rdi                                          ; +0x237, 0x140251447\nnop     dword ptr [rax+rax+00h]                                        ; +0x23b, 0x14025144b\ninc     rbx                                                            ; +0x240, 0x140251450\ncmp     byte ptr [rdx+rbx], 0                                          ; +0x243, 0x140251453\njnz     short loc_140251450                                            ; +0x247, 0x140251457\nmov     r8, rbx                                                        ; +0x249, 0x140251459\nlea     rcx, [rbp+57h+var_80]                                          ; +0x24c, 0x14025145c\ncall    sub_14003D230                                                  ; +0x250, 0x140251460\nnop                                                                    ; +0x255, 0x140251465\nxorps   xmm0, xmm0                                                     ; +0x256, 0x140251466\nmovups  xmmword ptr [rbp+57h+Block], xmm0                              ; +0x259, 0x140251469\nmov     qword ptr [rbp+57h+var_38], rdi                                ; +0x25d, 0x14025146d\nmov     qword ptr [rbp+57h+var_38+8], rdi                              ; +0x261, 0x140251471\nmov     ecx, 40h ; '@'                                                 ; +0x265, 0x140251475\ncall    sub_14003D460                                                  ; +0x26a, 0x14025147a\nmov     r8, rax                                                        ; +0x26f, 0x14025147f\nmov     [rbp+57h+Block], rax                                           ; +0x272, 0x140251482\nmov     qword ptr [rbp+57h+var_38], 35h ; '5'                          ; +0x276, 0x140251486\nmov     qword ptr [rbp+57h+var_38+8], 3Fh ; '?'                        ; +0x27e, 0x14025148e\nmovups  xmm0, cs:xmmword_140759D68                                     ; +0x286, 0x140251496\nmovups  xmmword ptr [rax], xmm0                                        ; +0x28d, 0x14025149d\nmovups  xmm1, cs:xmmword_140759D78                                     ; +0x290, 0x1402514a0\nmovups  xmmword ptr [rax+10h], xmm1                                    ; +0x297, 0x1402514a7\nmovups  xmm0, cs:xmmword_140759D88                                     ; +0x29b, 0x1402514ab\nmovups  xmmword ptr [rax+20h], xmm0                                    ; +0x2a2, 0x1402514b2\nmov     edx, cs:dword_140759D98                                        ; +0x2a6, 0x1402514b6\nmov     [rax+30h], edx                                                 ; +0x2ac, 0x1402514bc\nmovzx   eax, cs:byte_140759D9C                                         ; +0x2af, 0x1402514bf\nmov     [r8+34h], al                                                   ; +0x2b6, 0x1402514c6\nmov     byte ptr [r8+35h], 0                                           ; +0x2ba, 0x1402514ca\nmov     dword ptr [rsp+0E0h+Reserved], 72h ; 'r'                       ; +0x2bf, 0x1402514cf\nlea     r9, [rbp+57h+var_A0]                                           ; +0x2c7, 0x1402514d7\nlea     r8, [rbp+57h+var_80]                                           ; +0x2cb, 0x1402514db\nlea     rdx, [rbp+57h+Block]                                           ; +0x2cf, 0x1402514df\nmov     rcx, rsi                                                       ; +0x2d3, 0x1402514e3\ncall    GameLevelManager__ProcessHttpRequest                           ; +0x2d6, 0x1402514e6\nnop                                                                    ; +0x2db, 0x1402514eb\nlea     rcx, [rbp+57h+Src]                                             ; +0x2dc, 0x1402514ec\ncall    sub_14003D310                                                  ; +0x2e0, 0x1402514f0\nmov     al, 1                                                          ; +0x2e5, 0x1402514f5\nmov     rcx, [rbp+57h+var_8]                                           ; +0x2e7, 0x1402514f7\nxor     rcx, rsp; StackCookie                                          ; +0x2eb, 0x1402514fb\ncall    __security_check_cookie                                        ; +0x2ee, 0x1402514fe\nlea     r11, [rsp+0E0h+var_s0]                                         ; +0x2f3, 0x140251503\nmov     rbx, [r11+18h]                                                 ; +0x2fb, 0x14025150b\nmov     rsi, [r11+20h]                                                 ; +0x2ff, 0x14025150f\nmov     rdi, [r11+28h]                                                 ; +0x303, 0x140251513\nmov     rsp, r11                                                       ; +0x307, 0x140251517\npop     rbp                                                            ; +0x30a, 0x14025151a\nretn                                                                   ; +0x30b, 0x14025151b", "xrefs": ["GameLevelManager::syncFollowListIfNeeded @ 0x140251ac7", "GameLevelManager::syncFollowListIfNeeded @ 0x140251af1", "<???> @ 0x14091c49c"], "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"}