{"type": "func", "start": 14670196, "end": 14670260, "name": "GENERAL_NAME_get0_value", "pseudocode": "// \n// GENERAL_NAME_get0_value from 0xdfd974 to 0xdfd9b4 (64 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x7ed38\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\n__int64 __fastcall GENERAL_NAME_get0_value(__int64 a1, _DWORD *a2)\n{\n  __int64 result; // x0\n\n  if ( a2 )\n    *a2 = *(_DWORD *)a1;\n  result = 0;\n  switch ( *(_DWORD *)a1 )\n  {\n    case 0:\n    case 1:\n    case 2:\n    case 3:\n    case 4:\n    case 5:\n    case 6:\n    case 7:\n    case 8:\n      result = *(_QWORD *)(a1 + 8);\n      break;\n    default:\n      return result;\n  }\n  return result;\n}", "assembly": "; \n; GENERAL_NAME_get0_value from 0xdfd974 to 0xdfd9b4 (64 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x7ed38\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\nMOV             X2, X0                                                 ; +0x0, 0xdfd974\nCBZ             X1, loc_DFD984                                         ; +0x4, 0xdfd978\nLDR             W0, [X0]                                               ; +0x8, 0xdfd97c\nSTR             W0, [X1]                                               ; +0xc, 0xdfd980\nLDR             W1, [X2]                                               ; +0x10, 0xdfd984\nMOV             X0, #0                                                 ; +0x14, 0xdfd988\nCMP             W1, #8; switch 9 cases                                 ; +0x18, 0xdfd98c\nB.HI            def_DFD9A8; jumptable 0000000000DFD9A8 default case    ; +0x1c, 0xdfd990\nADRL            X0, jpt_DFD9A8                                         ; +0x20, 0xdfd994\nLDRB            W0, [X0,W1,UXTW]                                       ; +0x28, 0xdfd99c\nADR             X1, loc_DFD9AC; jumptable 0000000000DFD9A8 cases 0-8   ; +0x2c, 0xdfd9a0\nADD             X0, X1, W0,SXTB#2                                      ; +0x30, 0xdfd9a4\nBR              X0; switch jump                                        ; +0x34, 0xdfd9a8\nLDR             X0, [X2,#8]; jumptable 0000000000DFD9A8 cases 0-8      ; +0x38, 0xdfd9ac\nRET; jumptable 0000000000DFD9A8 default case                           ; +0x3c, 0xdfd9b0", "xrefs": ["<???> @ 0x7ed38"], "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"}