{"type": "func", "start": 792380, "end": 792468, "name": "sub_C173C", "pseudocode": "// \n// sub_C173C from 0xc173c to 0xc1794 (88 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_C173C(int a1, _DWORD *a2, _DWORD *a3)\n{\n  int result; // r0\n  int v7; // [sp+4h] [bp-1Ch] BYREF\n\n  if ( dword_126258 )\n  {\n    v7 = 0;\n    sub_BFFC4(&v7);\n    if ( (unsigned int)(v7 - dword_126258) > 0x3E8 )\n    {\n      dword_126258 = 0;\n      *a3 = 1;\n    }\n  }\n  if ( !*a3 || (result = sub_C15BC(a1)) == 0 )\n  {\n    *a2 = *(_DWORD *)(*(_DWORD *)a1 + 8876);\n    return 0;\n  }\n  return result;\n}", "assembly": "; \n; sub_C173C from 0xc173c to 0xc1794 (88 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, 0xc173c\nADD             R7, SP, #0xC                                           ; +0x2, 0xc173e\nPUSH.W          {R6-R9,R11}                                            ; +0x4, 0xc1740\nLDR             R4, =(dword_126258 - 0xC1750)                          ; +0x8, 0xc1744\nMOV             R5, R0                                                 ; +0xa, 0xc1746\nMOV             R6, R2                                                 ; +0xc, 0xc1748\nMOV             R8, R1                                                 ; +0xe, 0xc174a\nADD             R4, PC; dword_126258                                   ; +0x10, 0xc174c\nLDR             R0, [R4]                                               ; +0x12, 0xc174e\nCBZ             R0, loc_C1774                                          ; +0x14, 0xc1750\nADD             R0, SP, #8+var_4                                       ; +0x16, 0xc1752\nMOV.W           R9, #0                                                 ; +0x18, 0xc1754\nSTR.W           R9, [SP,#8+var_4]                                      ; +0x1c, 0xc1758\nBL              sub_BFFC4                                              ; +0x20, 0xc175c\nLDR             R0, [R4]                                               ; +0x24, 0xc1760\nLDR             R1, [SP,#8+var_4]                                      ; +0x26, 0xc1762\nSUBS            R0, R1, R0                                             ; +0x28, 0xc1764\nCMP.W           R0, #0x3E8                                             ; +0x2a, 0xc1766\nITTT HI                                                                ; +0x2e, 0xc176a\nSTRHI.W         R9, [R4]                                               ; +0x30, 0xc176c\nMOVHI           R0, #1                                                 ; +0x34, 0xc1770\nSTRHI           R0, [R6]                                               ; +0x36, 0xc1772\nLDR             R0, [R6]                                               ; +0x38, 0xc1774\nCBZ             R0, loc_C1780                                          ; +0x3a, 0xc1776\nMOV             R0, R5                                                 ; +0x3c, 0xc1778\nBL              sub_C15BC                                              ; +0x3e, 0xc177a\nCBNZ            R0, loc_C178E                                          ; +0x42, 0xc177e\nLDR             R0, [R5]                                               ; +0x44, 0xc1780\nMOVW            R1, #0x22AC                                            ; +0x46, 0xc1782\nLDR             R0, [R0,R1]                                            ; +0x4a, 0xc1786\nSTR.W           R0, [R8]                                               ; +0x4c, 0xc1788\nMOVS            R0, #0                                                 ; +0x50, 0xc178c\nPOP.W           {R2,R3,R8,R9,R11}                                      ; +0x52, 0xc178e\nPOP             {R4-R7,PC}                                             ; +0x56, 0xc1792", "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"}