{"type": "func", "start": 5370031872, "end": 5370032101, "name": "GameLevelManager::onProcessHttpRequestCompleted", "pseudocode": "// \n// GameLevelManager::onProcessHttpRequestCompleted from 0x140142f00 to 0x140142fe5 (229 bytes)\n// \n// 3 xrefs:\n// > GameLevelManager::ProcessHttpRequest @ 0x140142e3e\n// > MenuLayer::firstNetworkTest @ 0x1403353ce\n// > <???> @ 0x1406ca4f4\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n// Hidden C++ exception states: #wind=2\nvoid GameLevelManager::onProcessHttpRequestCompleted(\n        GameLevelManager *a1,\n        cocos2d::extension::CCHttpClient *a2,\n        cocos2d::extension::CCHttpResponse *a3)\n{\n  const char *Tag; // rdi\n  int Myend; // ebp\n  size_t v7; // r8\n  __int128 v8; // [rsp+30h] [rbp-98h] BYREF\n  __int64 v9; // [rsp+40h] [rbp-88h]\n  __int64 v10; // [rsp+48h] [rbp-80h]\n  __int128 *v11; // [rsp+50h] [rbp-78h]\n  _BYTE v12[32]; // [rsp+60h] [rbp-68h] BYREF\n  _BYTE v13[32]; // [rsp+80h] [rbp-48h] BYREF\n\n  Tag = cocos2d::extension::CCHttpRequest::getTag(a3->_pHttpRequest);\n  Myend = (int)a3->_pHttpRequest->_headers._Mypair._Myval2._Myend;\n  GameToolbox::getResponse((__int64)v13, (__int64)a3);\n  v11 = &v8;\n  v8 = 0;\n  v9 = 0;\n  v10 = 0;\n  v7 = -1;\n  do\n    ++v7;\n  while ( Tag[v7] );\n  sub_14003A930(&v8, Tag, v7);\n  sub_14003BDB0((__int64)v12, (__int64)v13);\n  GameLevelManager::handleIt(a1, Myend);\n  sub_14003A830((__int64)v13);\n}", "assembly": "; \n; GameLevelManager::onProcessHttpRequestCompleted from 0x140142f00 to 0x140142fe5 (229 bytes)\n; \n; 3 xrefs:\n; > GameLevelManager::ProcessHttpRequest @ 0x140142e3e\n; > MenuLayer::firstNetworkTest @ 0x1403353ce\n; > <???> @ 0x1406ca4f4\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x140142f00\npush    rbp                                                            ; +0x5, 0x140142f05\npush    rsi                                                            ; +0x6, 0x140142f06\npush    rdi                                                            ; +0x7, 0x140142f07\nsub     rsp, 0B0h                                                      ; +0x8, 0x140142f08\nmov     rax, cs:__security_cookie                                      ; +0xf, 0x140142f0f\nxor     rax, rsp                                                       ; +0x16, 0x140142f16\nmov     [rsp+0C8h+var_28], rax                                         ; +0x19, 0x140142f19\nmov     rbx, r8                                                        ; +0x21, 0x140142f21\nmov     rsi, rcx                                                       ; +0x24, 0x140142f24\nmov     rcx, [r8+38h]                                                  ; +0x27, 0x140142f27\ncall    cs:?getTag@CCHttpRequest@extension@cocos2d@@QEAAPEBDXZ; cocos2d::extension::CCHttpRequest::getTag(void) ; +0x2b, 0x140142f2b\nmov     rdi, rax                                                       ; +0x31, 0x140142f31\nmov     rcx, [rbx+38h]                                                 ; +0x34, 0x140142f34\nmov     ebp, [rcx+0C8h]                                                ; +0x38, 0x140142f38\nmov     rdx, rbx                                                       ; +0x3e, 0x140142f3e\nlea     rcx, [rsp+0C8h+var_48]                                         ; +0x41, 0x140142f41\ncall    GameToolbox__getResponse                                       ; +0x49, 0x140142f49\nnop                                                                    ; +0x4e, 0x140142f4e\nlea     rax, [rsp+0C8h+var_98]                                         ; +0x4f, 0x140142f4f\nmov     [rsp+0C8h+var_78], rax                                         ; +0x54, 0x140142f54\nxorps   xmm0, xmm0                                                     ; +0x59, 0x140142f59\nmovups  [rsp+0C8h+var_98], xmm0                                        ; +0x5c, 0x140142f5c\nxor     eax, eax                                                       ; +0x61, 0x140142f61\nmov     [rsp+0C8h+var_88], rax                                         ; +0x63, 0x140142f63\nmov     [rsp+0C8h+var_80], rax                                         ; +0x68, 0x140142f68\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x6d, 0x140142f6d\ninc     r8                                                             ; +0x74, 0x140142f74\ncmp     [rdi+r8], al                                                   ; +0x77, 0x140142f77\njnz     short loc_140142F74                                            ; +0x7b, 0x140142f7b\nmov     rdx, rdi                                                       ; +0x7d, 0x140142f7d\nlea     rcx, [rsp+0C8h+var_98]                                         ; +0x80, 0x140142f80\ncall    sub_14003A930                                                  ; +0x85, 0x140142f85\nnop                                                                    ; +0x8a, 0x140142f8a\nlea     rdx, [rsp+0C8h+var_48]                                         ; +0x8b, 0x140142f8b\nlea     rcx, [rsp+0C8h+var_68]                                         ; +0x93, 0x140142f93\ncall    sub_14003BDB0                                                  ; +0x98, 0x140142f98\nnop                                                                    ; +0x9d, 0x140142f9d\nmov     [rsp+0C8h+var_A8], ebp; int                                    ; +0x9e, 0x140142f9e\nlea     r9, [rsp+0C8h+var_98]                                          ; +0xa2, 0x140142fa2\nmov     r8, rax                                                        ; +0xa7, 0x140142fa7\nmov     dl, 1                                                          ; +0xaa, 0x140142faa\nmov     rcx, rsi; void *                                               ; +0xac, 0x140142fac\ncall    GameLevelManager__handleIt                                     ; +0xaf, 0x140142faf\nnop                                                                    ; +0xb4, 0x140142fb4\nlea     rcx, [rsp+0C8h+var_48]                                         ; +0xb5, 0x140142fb5\ncall    sub_14003A830                                                  ; +0xbd, 0x140142fbd\nmov     rcx, [rsp+0C8h+var_28]                                         ; +0xc2, 0x140142fc2\nxor     rcx, rsp; StackCookie                                          ; +0xca, 0x140142fca\ncall    __security_check_cookie                                        ; +0xcd, 0x140142fcd\nmov     rbx, [rsp+0C8h+arg_8]                                          ; +0xd2, 0x140142fd2\nadd     rsp, 0B0h                                                      ; +0xda, 0x140142fda\npop     rdi                                                            ; +0xe1, 0x140142fe1\npop     rsi                                                            ; +0xe2, 0x140142fe2\npop     rbp                                                            ; +0xe3, 0x140142fe3\nretn                                                                   ; +0xe4, 0x140142fe4", "xrefs": ["GameLevelManager::ProcessHttpRequest @ 0x140142e3e", "MenuLayer::firstNetworkTest @ 0x1403353ce", "<???> @ 0x1406ca4f4"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}