{"type": "func", "start": 546212, "end": 546288, "name": "sub_855A4", "pseudocode": "// \n// sub_855A4 from 0x855a4 to 0x855f0 (76 bytes)\n// \n// 1 xrefs:\n// > sub_83E04 @ 0x84820\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 12:14:09 +0000\n// \n\n__int64 __fastcall sub_855A4(__int64 a1)\n{\n  int v1; // w8\n  __int64 result; // x0\n\n  v1 = *(_DWORD *)(a1 + 36);\n  if ( v1 == -1 )\n    return 28;\n  if ( v1 != *(_DWORD *)(a1 + 8) )\n    return 0;\n  result = sub_856E0();\n  if ( !(_DWORD)result )\n    return 0;\n  return result;\n}", "assembly": "; \n; sub_855A4 from 0x855a4 to 0x855f0 (76 bytes)\n; \n; 1 xrefs:\n; > sub_83E04 @ 0x84820\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 12:14:09 +0000\n; \nSTP             X29, X30, [SP,#-0x10+var_s0]!                          ; +0x0, 0x855a4\nLDR             W8, [X0,#0x24]                                         ; +0x4, 0x855a8\nMOV             X29, SP                                                ; +0x8, 0x855ac\nCMN             W8, #1                                                 ; +0xc, 0x855b0\nB.EQ            loc_855E4                                              ; +0x10, 0x855b4\nLDR             W9, [X0,#8]                                            ; +0x14, 0x855b8\nCMP             W8, W9                                                 ; +0x18, 0x855bc\nB.NE            loc_855DC                                              ; +0x1c, 0x855c0\nLSL             W9, W8, #1                                             ; +0x20, 0x855c4\nCMP             W8, #2                                                 ; +0x24, 0x855c8\nMOV             W8, #4                                                 ; +0x28, 0x855cc\nCSEL            W1, W8, W9, LT                                         ; +0x2c, 0x855d0\nBL              sub_856E0                                              ; +0x30, 0x855d4\nCBNZ            W0, loc_855E8                                          ; +0x34, 0x855d8\nMOV             W0, WZR                                                ; +0x38, 0x855dc\nB               loc_855E8                                              ; +0x3c, 0x855e0\nMOV             W0, #0x1C                                              ; +0x40, 0x855e4\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x44, 0x855e8\nRET                                                                    ; +0x48, 0x855ec", "xrefs": ["sub_83E04 @ 0x84820"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}