{"type": "func", "start": 530336, "end": 530386, "name": "sub_817A0", "pseudocode": "// \n// sub_817A0 from 0x817a0 to 0x817d2 (50 bytes)\n// \n// 1 xrefs:\n// > sub_81298 @ 0x81298\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:41:17 +0000\n// \n\nint __fastcall sub_817A0(int a1, int a2, int a3)\n{\n  int v5; // r0\n\n  v5 = sub_CE994();\n  if ( v5 > -1 )\n    return 0;\n  if ( v5 == -139 )\n    return 38;\n  if ( !a3 && !*(_QWORD *)(a1 + 304) )\n    return 0;\n  return 14;\n}", "assembly": "; \n; sub_817A0 from 0x817a0 to 0x817d2 (50 bytes)\n; \n; 1 xrefs:\n; > sub_81298 @ 0x81298\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:41:17 +0000\n; \nPUSH            {R4,R5,R7,LR}                                          ; +0x0, 0x817a0\nADD             R7, SP, #8                                             ; +0x2, 0x817a2\nADD.W           R1, R0, #0xE0                                          ; +0x4, 0x817a4\nMOVS            R3, #0                                                 ; +0x8, 0x817a8\nMOV             R5, R2                                                 ; +0xa, 0x817aa\nMOV             R4, R0                                                 ; +0xc, 0x817ac\nBL              sub_CE994                                              ; +0xe, 0x817ae\nCMP.W           R0, #0xFFFFFFFF                                        ; +0x12, 0x817b2\nBLE             loc_817BC                                              ; +0x16, 0x817b6\nMOVS            R0, #0                                                 ; +0x18, 0x817b8\nPOP             {R4,R5,R7,PC}                                          ; +0x1a, 0x817ba\nADDS            R0, #0x8B                                              ; +0x1c, 0x817bc\nBNE             loc_817C4                                              ; +0x1e, 0x817be\nMOVS            R0, #0x26 ; '&'                                        ; +0x20, 0x817c0\nPOP             {R4,R5,R7,PC}                                          ; +0x22, 0x817c2\nCBNZ            R5, loc_817CE                                          ; +0x24, 0x817c4\nLDRD.W          R0, R1, [R4,#0x130]                                    ; +0x26, 0x817c6\nORRS            R0, R1                                                 ; +0x2a, 0x817ca\nBEQ             loc_817B8                                              ; +0x2c, 0x817cc\nMOVS            R0, #0xE                                               ; +0x2e, 0x817ce\nPOP             {R4,R5,R7,PC}                                          ; +0x30, 0x817d0", "xrefs": ["sub_81298 @ 0x81298"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}