{"type": "func", "start": 5369483936, "end": 5369484228, "name": "GJRequestCell::uploadActionFailed", "pseudocode": "// \n// GJRequestCell::uploadActionFailed from 0x1400bd2a0 to 0x1400bd3c4 (292 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x14054be70\n// > <???> @ 0x1406c7df4\n// > <???> @ 0x1406c7e00\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=1\nvoid GJRequestCell::uploadActionFailed(GJRequestCell *a1, int a2, int a3)\n{\n  __int64 v5; // rcx\n  struct cocos2d::CCObject *v6; // rax\n  __int128 v7; // [rsp+20h] [rbp-28h] BYREF\n  __int64 v8; // [rsp+30h] [rbp-18h]\n  __int64 v9; // [rsp+38h] [rbp-10h]\n  void *v10; // [rsp+50h] [rbp+8h]\n\n  if ( *(_QWORD *)&a1->m_uID )\n  {\n    v5 = qword_1406C2EC0;\n    if ( !qword_1406C2EC0 )\n    {\n      v10 = operator new(0x3D0u);\n      qword_1406C2EC0 = sub_140141280(v10);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EC0 + 72LL))(qword_1406C2EC0);\n      v5 = qword_1406C2EC0;\n    }\n    v6 = cocos2d::CCDictionary::objectForKey(\n           *(cocos2d::CCDictionary **)(v5 + 608),\n           *(int *)(*(_QWORD *)&a1->m_uID + 392LL));\n    if ( !v6 || a2 == v6[5].m_nZOrder )\n    {\n      if ( *(_QWORD *)&a1->m_nTag )\n      {\n        v7 = 0;\n        *(_QWORD *)&v7 = sub_14003AA10(0x20u);\n        v8 = 31;\n        v9 = 31;\n        strcpy((char *)v7, \"Failed. Please try again later.\");\n        UploadActionPopup::showFailMessage(*(_QWORD *)&a1->m_nTag, &v7);\n        *(_QWORD *)(*(_QWORD *)&a1->m_nTag + 632LL) = 0;\n        *(_QWORD *)&a1->m_nTag = 0;\n      }\n    }\n  }\n}", "assembly": "; \n; GJRequestCell::uploadActionFailed from 0x1400bd2a0 to 0x1400bd3c4 (292 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x14054be70\n; > <???> @ 0x1406c7df4\n; > <???> @ 0x1406c7e00\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, 0x1400bd2a0\npush    rdi                                                            ; +0x5, 0x1400bd2a5\nsub     rsp, 40h                                                       ; +0x6, 0x1400bd2a6\nmov     edi, edx                                                       ; +0xa, 0x1400bd2aa\nmov     rbx, rcx                                                       ; +0xc, 0x1400bd2ac\ncmp     qword ptr [rcx+8], 0                                           ; +0xf, 0x1400bd2af\njz      loc_1400BD3B9                                                  ; +0x14, 0x1400bd2b4\nmov     rcx, cs:qword_1406C2EC0                                        ; +0x1a, 0x1400bd2ba\ntest    rcx, rcx                                                       ; +0x21, 0x1400bd2c1\njnz     short loc_1400BD2F5                                            ; +0x24, 0x1400bd2c4\nmov     ecx, 3D0h; Size                                                ; +0x26, 0x1400bd2c6\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x2b, 0x1400bd2cb\nmov     [rsp+48h+arg_0], rax                                           ; +0x30, 0x1400bd2d0\nmov     rcx, rax                                                       ; +0x35, 0x1400bd2d5\ncall    sub_140141280                                                  ; +0x38, 0x1400bd2d8\nnop                                                                    ; +0x3d, 0x1400bd2dd\nmov     cs:qword_1406C2EC0, rax                                        ; +0x3e, 0x1400bd2de\nmov     rdx, [rax]                                                     ; +0x45, 0x1400bd2e5\nmov     rcx, rax                                                       ; +0x48, 0x1400bd2e8\ncall    qword ptr [rdx+48h]                                            ; +0x4b, 0x1400bd2eb\nmov     rcx, cs:qword_1406C2EC0                                        ; +0x4e, 0x1400bd2ee\nmov     rax, [rbx+8]                                                   ; +0x55, 0x1400bd2f5\nmovsxd  rdx, dword ptr [rax+188h]                                      ; +0x59, 0x1400bd2f9\nmov     rcx, [rcx+260h]                                                ; +0x60, 0x1400bd300\ncall    cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::objectForKey(__int64) ; +0x67, 0x1400bd307\ntest    rax, rax                                                       ; +0x6d, 0x1400bd30d\njz      short loc_1400BD31E                                            ; +0x70, 0x1400bd310\ncmp     edi, [rax+144h]                                                ; +0x72, 0x1400bd312\njnz     loc_1400BD3B9                                                  ; +0x78, 0x1400bd318\ncmp     qword ptr [rbx+10h], 0                                         ; +0x7e, 0x1400bd31e\njz      loc_1400BD3B9                                                  ; +0x83, 0x1400bd323\nxorps   xmm0, xmm0                                                     ; +0x89, 0x1400bd329\nmovups  [rsp+48h+var_28], xmm0                                         ; +0x8c, 0x1400bd32c\nxor     edi, edi                                                       ; +0x91, 0x1400bd331\nmov     [rsp+48h+var_18], rdi                                          ; +0x93, 0x1400bd333\nmov     [rsp+48h+var_10], 0Fh                                          ; +0x98, 0x1400bd338\nlea     ecx, [rdi+20h]                                                 ; +0xa1, 0x1400bd341\ncall    sub_14003AA10                                                  ; +0xa4, 0x1400bd344\nmov     rdx, rax                                                       ; +0xa9, 0x1400bd349\nmov     qword ptr [rsp+48h+var_28], rax                                ; +0xac, 0x1400bd34c\nmov     [rsp+48h+var_18], 1Fh                                          ; +0xb1, 0x1400bd351\nmov     [rsp+48h+var_10], 1Fh                                          ; +0xba, 0x1400bd35a\nmovups  xmm0, cs:xmmword_1405473B8                                     ; +0xc3, 0x1400bd363\nmovups  xmmword ptr [rax], xmm0                                        ; +0xca, 0x1400bd36a\nmovsd   xmm0, cs:qword_1405473C8                                       ; +0xcd, 0x1400bd36d\nmovsd   qword ptr [rax+10h], xmm0                                      ; +0xd5, 0x1400bd375\nmov     ecx, cs:dword_1405473D0                                        ; +0xda, 0x1400bd37a\nmov     [rax+18h], ecx                                                 ; +0xe0, 0x1400bd380\nmovzx   eax, cs:word_1405473D4                                         ; +0xe3, 0x1400bd383\nmov     [rdx+1Ch], ax                                                  ; +0xea, 0x1400bd38a\nmovzx   eax, cs:byte_1405473D6                                         ; +0xee, 0x1400bd38e\nmov     [rdx+1Eh], al                                                  ; +0xf5, 0x1400bd395\nmov     [rdx+1Fh], dil                                                 ; +0xf8, 0x1400bd398\nlea     rdx, [rsp+48h+var_28]                                          ; +0xfc, 0x1400bd39c\nmov     rcx, [rbx+10h]                                                 ; +0x101, 0x1400bd3a1\ncall    UploadActionPopup__showFailMessage                             ; +0x105, 0x1400bd3a5\nmov     rax, [rbx+10h]                                                 ; +0x10a, 0x1400bd3aa\nmov     [rax+278h], rdi                                                ; +0x10e, 0x1400bd3ae\nmov     [rbx+10h], rdi                                                 ; +0x115, 0x1400bd3b5\nmov     rbx, [rsp+48h+arg_8]                                           ; +0x119, 0x1400bd3b9\nadd     rsp, 40h                                                       ; +0x11e, 0x1400bd3be\npop     rdi                                                            ; +0x122, 0x1400bd3c2\nretn                                                                   ; +0x123, 0x1400bd3c3", "xrefs": ["<???> @ 0x14054be70", "<???> @ 0x1406c7df4", "<???> @ 0x1406c7e00"], "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"}