{"type": "func", "start": 700632, "end": 700740, "name": "sub_AB0D8", "pseudocode": "// \n// sub_AB0D8 from 0xab0d8 to 0xab144 (108 bytes)\n// \n// 1 xrefs:\n// > sub_48334 @ 0x4848a\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_AB0D8(int a1, int a2, int a3)\n{\n  int v5; // r0\n  int result; // r0\n  int v8; // r1\n  int v9; // [sp+4h] [bp-14h] BYREF\n\n  if ( !*(_DWORD *)(a1 + 128) )\n    return 0;\n  if ( !a2 )\n    return 31;\n  v5 = *(_DWORD *)(a1 + 92);\n  __dmb(0xBu);\n  if ( (v5 & 0x100) != 0 )\n    return sub_AACA0(a1, a2, 0);\n  result = sub_61E9C(*(_DWORD *)(a1 + 128), &v9, 12, a3);\n  if ( !result )\n  {\n    *(_BYTE *)v9 = 6;\n    v8 = v9;\n    *(_DWORD *)(v9 + 4) = a1;\n    *(_DWORD *)(v8 + 8) = a2;\n    return sub_61F04(*(_DWORD *)(a1 + 128), v8, a3);\n  }\n  return result;\n}", "assembly": "; \n; sub_AB0D8 from 0xab0d8 to 0xab144 (108 bytes)\n; \n; 1 xrefs:\n; > sub_48334 @ 0x4848a\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, 0xab0d8\nADD             R7, SP, #0xC                                           ; +0x2, 0xab0da\nPUSH.W          {R11}                                                  ; +0x4, 0xab0dc\nSUB             SP, SP, #8                                             ; +0x8, 0xab0e0\nMOV             R6, R0                                                 ; +0xa, 0xab0e2\nLDR.W           R0, [R0,#0x80]                                         ; +0xc, 0xab0e4\nCBZ             R0, loc_AB122                                          ; +0x10, 0xab0e8\nMOV             R5, R1                                                 ; +0x12, 0xab0ea\nCBZ             R1, loc_AB126                                          ; +0x14, 0xab0ec\nLDR             R0, [R6,#0x5C]                                         ; +0x16, 0xab0ee\nDMB.W           ISH                                                    ; +0x18, 0xab0f0\nLSLS            R0, R0, #0x17                                          ; +0x1c, 0xab0f4\nBMI             loc_AB130                                              ; +0x1e, 0xab0f6\nLDR.W           R0, [R6,#0x80]                                         ; +0x20, 0xab0f8\nMOV             R4, R2                                                 ; +0x24, 0xab0fc\nADD             R1, SP, #8+var_4                                       ; +0x26, 0xab0fe\nMOVS            R2, #0xC                                               ; +0x28, 0xab100\nMOV             R3, R4                                                 ; +0x2a, 0xab102\nBL              sub_61E9C                                              ; +0x2c, 0xab104\nCBNZ            R0, loc_AB128                                          ; +0x30, 0xab108\nLDR             R0, [SP,#8+var_4]                                      ; +0x32, 0xab10a\nMOVS            R1, #6                                                 ; +0x34, 0xab10c\nMOV             R2, R4                                                 ; +0x36, 0xab10e\nSTRB            R1, [R0]                                               ; +0x38, 0xab110\nLDR             R1, [SP,#8+var_4]                                      ; +0x3a, 0xab112\nSTRD.W          R6, R5, [R1,#4]                                        ; +0x3c, 0xab114\nLDR.W           R0, [R6,#0x80]                                         ; +0x40, 0xab118\nBL              sub_61F04                                              ; +0x44, 0xab11c\nB               loc_AB128                                              ; +0x48, 0xab120\nMOVS            R0, #0                                                 ; +0x4a, 0xab122\nB               loc_AB128                                              ; +0x4c, 0xab124\nMOVS            R0, #0x1F                                              ; +0x4e, 0xab126\nADD             SP, SP, #8                                             ; +0x50, 0xab128\nPOP.W           {R11}                                                  ; +0x52, 0xab12a\nPOP             {R4-R7,PC}                                             ; +0x56, 0xab12e\nMOV             R0, R6                                                 ; +0x58, 0xab130\nMOV             R1, R5                                                 ; +0x5a, 0xab132\nMOVS            R2, #0                                                 ; +0x5c, 0xab134\nADD             SP, SP, #8                                             ; +0x5e, 0xab136\nPOP.W           {R11}                                                  ; +0x60, 0xab138\nPOP.W           {R4-R7,LR}                                             ; +0x64, 0xab13c\nB.W             sub_AACA0                                              ; +0x68, 0xab140", "xrefs": ["sub_48334 @ 0x4848a"], "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"}