{"type": "func", "start": 648500, "end": 648606, "name": "sub_9E534", "pseudocode": "// \n// sub_9E534 from 0x9e534 to 0x9e59e (106 bytes)\n// \n// 0 xrefs:\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\nint __fastcall sub_9E534(_DWORD *a1, int a2, int a3)\n{\n  int v4; // r0\n  int v6; // r0\n  _DWORD v7[2]; // [sp+4h] [bp-1Ch] BYREF\n  char v8; // [sp+Ch] [bp-14h]\n\n  if ( !a2 )\n  {\n    v4 = -1;\nLABEL_5:\n    a1[129] = v4;\n    return 0;\n  }\n  if ( !a3 )\n  {\n    if ( (unsigned int)(a1[129] + 1) > 1 )\n      return 0;\n    v6 = a1[23];\n    __dmb(0xBu);\n    if ( (v6 & 0x100) != 0 )\n      v4 = 0;\n    else\n      v4 = *(_DWORD *)(a1[32] + 68872) + 1;\n    goto LABEL_5;\n  }\n  v7[0] = a1[32];\n  v7[1] = 3;\n  v8 = 0;\n  sub_44998((int)v7);\n  a1[129] = 0;\n  sub_448CC((int)v7);\n  return 0;\n}", "assembly": "; \n; sub_9E534 from 0x9e534 to 0x9e59e (106 bytes)\n; \n; 0 xrefs:\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\nPUSH            {R4-R7,LR}                                             ; +0x0, 0x9e534\nADD             R7, SP, #0xC                                           ; +0x2, 0x9e536\nPUSH.W          {R11}                                                  ; +0x4, 0x9e538\nSUB             SP, SP, #0x10                                          ; +0x8, 0x9e53c\nMOV             R4, R0                                                 ; +0xa, 0x9e53e\nCBZ             R1, loc_9E568                                          ; +0xc, 0x9e540\nCBZ             R2, loc_9E57A                                          ; +0xe, 0x9e542\nADD             R5, SP, #0x10+var_C                                    ; +0x10, 0x9e544\nLDR.W           R0, [R4,#0x80]                                         ; +0x12, 0x9e546\nMOVS            R1, #3                                                 ; +0x16, 0x9e54a\nMOVS            R6, #0                                                 ; +0x18, 0x9e54c\nSTRD.W          R0, R1, [SP,#0x10+var_C]                               ; +0x1a, 0x9e54e\nMOV             R0, R5                                                 ; +0x1e, 0x9e552\nSTRB.W          R6, [SP,#0x10+var_4]                                   ; +0x20, 0x9e554\nBL              sub_44998                                              ; +0x24, 0x9e558\nMOV             R0, R5                                                 ; +0x28, 0x9e55c\nSTR.W           R6, [R4,#0x204]                                        ; +0x2a, 0x9e55e\nBL              sub_448CC                                              ; +0x2e, 0x9e562\nB               loc_9E570                                              ; +0x32, 0x9e566\nMOV.W           R0, #0xFFFFFFFF                                        ; +0x34, 0x9e568\nSTR.W           R0, [R4,#0x204]                                        ; +0x38, 0x9e56c\nMOVS            R0, #0                                                 ; +0x3c, 0x9e570\nADD             SP, SP, #0x10                                          ; +0x3e, 0x9e572\nPOP.W           {R11}                                                  ; +0x40, 0x9e574\nPOP             {R4-R7,PC}                                             ; +0x44, 0x9e578\nLDR.W           R0, [R4,#0x204]                                        ; +0x46, 0x9e57a\nADDS            R0, #1                                                 ; +0x4a, 0x9e57e\nCMP             R0, #1                                                 ; +0x4c, 0x9e580\nBHI             loc_9E570                                              ; +0x4e, 0x9e582\nLDR             R0, [R4,#0x5C]                                         ; +0x50, 0x9e584\nDMB.W           ISH                                                    ; +0x52, 0x9e586\nLSLS            R0, R0, #0x17                                          ; +0x56, 0x9e58a\nBMI             loc_9E59A                                              ; +0x58, 0x9e58c\nLDR.W           R0, [R4,#0x80]                                         ; +0x5a, 0x9e58e\nLDR             R1, =0x10D08                                           ; +0x5e, 0x9e592\nLDR             R0, [R0,R1]                                            ; +0x60, 0x9e594\nADDS            R0, #1                                                 ; +0x62, 0x9e596\nB               loc_9E56C                                              ; +0x64, 0x9e598\nMOVS            R0, #0                                                 ; +0x66, 0x9e59a\nB               loc_9E56C                                              ; +0x68, 0x9e59c", "xrefs": [], "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"}