{"type": "func", "start": 761140, "end": 761196, "name": "sub_B9D34", "pseudocode": "// \n// sub_B9D34 from 0xb9d34 to 0xb9d6c (56 bytes)\n// \n// 2 xrefs:\n// > sub_B9360 @ 0xb9558\n// > sub_B9D9C @ 0xb9e6c\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:40 +0000\n// \n\n__int64 __fastcall sub_B9D34(__int64 a1, _DWORD *a2)\n{\n  __int64 result; // x0\n\n  if ( !*a2 )\n    return 2;\n  if ( *a2 == 1 )\n    return 3;\n  result = (unsigned int)a2[1];\n  if ( !(_DWORD)result )\n    return *(unsigned int *)(*(_QWORD *)(a1 + 168) + 70460LL);\n  return result;\n}", "assembly": "; \n; sub_B9D34 from 0xb9d34 to 0xb9d6c (56 bytes)\n; \n; 2 xrefs:\n; > sub_B9360 @ 0xb9558\n; > sub_B9D9C @ 0xb9e6c\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:40 +0000\n; \nLDR             W9, [X1]                                               ; +0x0, 0xb9d34\nCBZ             W9, loc_B9D4C                                          ; +0x4, 0xb9d38\nCMP             W9, #1                                                 ; +0x8, 0xb9d3c\nB.NE            loc_B9D54                                              ; +0xc, 0xb9d40\nMOV             W0, #3                                                 ; +0x10, 0xb9d44\nRET                                                                    ; +0x14, 0xb9d48\nMOV             W0, #2                                                 ; +0x18, 0xb9d4c\nRET                                                                    ; +0x1c, 0xb9d50\nMOV             X8, X0                                                 ; +0x20, 0xb9d54\nLDR             W0, [X1,#4]                                            ; +0x24, 0xb9d58\nCBZ             W0, loc_B9D64                                          ; +0x28, 0xb9d5c\nRET                                                                    ; +0x2c, 0xb9d60\nLDR             X8, [X8,#0xA8]                                         ; +0x30, 0xb9d64\nB               loc_BAB18                                              ; +0x34, 0xb9d68", "xrefs": ["sub_B9360 @ 0xb9558", "sub_B9D9C @ 0xb9e6c"], "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"}