{"type": "func", "start": 704364, "end": 704410, "name": "sub_ABF6C", "pseudocode": "// \n// sub_ABF6C from 0xabf6c to 0xabf9a (46 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_ABF6C(int *a1, int a2, unsigned int a3)\n{\n  int v3; // r3\n  unsigned int v4; // r0\n  bool v5; // cf\n  unsigned int v6; // r1\n  int result; // r0\n\n  v3 = *a1;\n  if ( a2 )\n  {\n    v4 = *(_DWORD *)(v3 + 292);\n    if ( v4 )\n    {\n      v5 = v4 >= a3;\n      v6 = v4 - a3;\n      result = 0;\n      if ( !v5 )\n        v6 = 0;\n      *(_DWORD *)(v3 + 292) = v6;\n    }\n    else\n    {\n      return 11;\n    }\n  }\n  else\n  {\n    *(_DWORD *)(v3 + 292) = *(_DWORD *)(*(_DWORD *)(v3 + 128) + 1192);\n    return 0;\n  }\n  return result;\n}", "assembly": "; \n; sub_ABF6C from 0xabf6c to 0xabf9a (46 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\nLDR             R3, [R0]                                               ; +0x0, 0xabf6c\nCBZ             R1, loc_ABF86                                          ; +0x2, 0xabf6e\nLDR.W           R0, [R3,#0x124]                                        ; +0x4, 0xabf70\nCBZ             R0, loc_ABF96                                          ; +0x8, 0xabf74\nSUBS            R1, R0, R2                                             ; +0xa, 0xabf76\nMOV.W           R0, #0                                                 ; +0xc, 0xabf78\nIT CC                                                                  ; +0x10, 0xabf7c\nMOVCC           R1, R0                                                 ; +0x12, 0xabf7e\nSTR.W           R1, [R3,#0x124]                                        ; +0x14, 0xabf80\nBX              LR                                                     ; +0x18, 0xabf84\nLDR.W           R0, [R3,#0x80]                                         ; +0x1a, 0xabf86\nLDR.W           R0, [R0,#0x4A8]                                        ; +0x1e, 0xabf8a\nSTR.W           R0, [R3,#0x124]                                        ; +0x22, 0xabf8e\nMOVS            R0, #0                                                 ; +0x26, 0xabf92\nBX              LR                                                     ; +0x28, 0xabf94\nMOVS            R0, #0xB                                               ; +0x2a, 0xabf96\nBX              LR                                                     ; +0x2c, 0xabf98", "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"}