{"type": "func", "start": 4297358064, "end": 4297358188, "name": "GJRateLevelLayer::uploadActionFailed", "pseudocode": "// \n// GJRateLevelLayer::uploadActionFailed from 0x100247af0 to 0x100247b6c (124 bytes)\n// \n// 2 xrefs:\n// > sub_100247B88 @ 0x100247b8c\n// > <???> @ 0x100908308\n// \n// This function is hookable on this platform (idp: arm, 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:01:27 +0000\n// \n\nvoid __fastcall GJRateLevelLayer::uploadActionFailed(__int64 a1, int a2)\n{\n  __int64 v3; // x20\n  void *__p[2]; // [xsp+8h] [xbp-28h] BYREF\n  char v5; // [xsp+1Fh] [xbp-11h]\n\n  if ( *(_DWORD *)(*(_QWORD *)(a1 + 1048) + 328LL) - *(_DWORD *)(*(_QWORD *)(a1 + 1048) + 332LL) == a2 )\n  {\n    v3 = *(_QWORD *)(a1 + 1096);\n    if ( v3 )\n    {\n      sub_100009900(__p, \"Failed. Please try again later.\");\n      UploadActionPopup::showFailMessage(v3, __p);\n      if ( v5 < 0 )\n        operator delete(__p[0]);\n      *(_QWORD *)(*(_QWORD *)(a1 + 1096) + 664LL) = 0;\n      *(_QWORD *)(a1 + 1096) = 0;\n    }\n  }\n}", "assembly": "; \n; GJRateLevelLayer::uploadActionFailed from 0x100247af0 to 0x100247b6c (124 bytes)\n; \n; 2 xrefs:\n; > sub_100247B88 @ 0x100247b8c\n; > <???> @ 0x100908308\n; \n; This function is hookable on this platform (idp: arm, 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:01:27 +0000\n; \nSUB             SP, SP, #0x40                                          ; +0x0, 0x100247af0\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x100247af4\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x100247af8\nADD             X29, SP, #0x30                                         ; +0xc, 0x100247afc\nLDR             X8, [X0,#0x418]                                        ; +0x10, 0x100247b00\nLDR             W9, [X8,#0x148]                                        ; +0x14, 0x100247b04\nLDR             W8, [X8,#0x14C]                                        ; +0x18, 0x100247b08\nSUB             W8, W9, W8                                             ; +0x1c, 0x100247b0c\nCMP             W8, W1                                                 ; +0x20, 0x100247b10\nB.NE            loc_100247B5C                                          ; +0x24, 0x100247b14\nMOV             X19, X0                                                ; +0x28, 0x100247b18\nLDR             X20, [X0,#0x448]                                       ; +0x2c, 0x100247b1c\nCBZ             X20, loc_100247B5C                                     ; +0x30, 0x100247b20\nADRL            X1, aFailedPleaseTr; \"Failed. Please try again later.\" ; +0x34, 0x100247b24\nADD             X0, SP, #0x30+__p; int                                 ; +0x3c, 0x100247b2c\nBL              sub_100009900                                          ; +0x40, 0x100247b30\nADD             X1, SP, #0x30+__p                                      ; +0x44, 0x100247b34\nMOV             X0, X20                                                ; +0x48, 0x100247b38\nBL              UploadActionPopup__showFailMessage                     ; +0x4c, 0x100247b3c\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x50, 0x100247b40\nTBZ             W8, #0x1F, loc_100247B50                               ; +0x54, 0x100247b44\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x58, 0x100247b48\nBL              __ZdlPv; operator delete(void *)                       ; +0x5c, 0x100247b4c\nLDR             X8, [X19,#0x448]                                       ; +0x60, 0x100247b50\nSTR             XZR, [X8,#0x298]                                       ; +0x64, 0x100247b54\nSTR             XZR, [X19,#0x448]                                      ; +0x68, 0x100247b58\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x6c, 0x100247b5c\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x70, 0x100247b60\nADD             SP, SP, #0x40 ; '@'                                    ; +0x74, 0x100247b64\nRET                                                                    ; +0x78, 0x100247b68", "xrefs": ["sub_100247B88 @ 0x100247b8c", "<???> @ 0x100908308"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}