{"type": "func", "start": 8744592, "end": 8744672, "name": "GENERAL_NAME_get0_value", "pseudocode": "// \n// GENERAL_NAME_get0_value from 0x856e90 to 0x856ee0 (80 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x690cc\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 GENERAL_NAME_get0_value(_DWORD *a1, _DWORD *a2)\n{\n  int result; // r0\n\n  if ( a2 )\n    *a2 = *a1;\n  switch ( *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 = a1[1];\n      break;\n    default:\n      result = 0;\n      break;\n  }\n  return result;\n}", "assembly": "; \n; GENERAL_NAME_get0_value from 0x856e90 to 0x856ee0 (80 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x690cc\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\nCMP             R1, #0                                                 ; +0x0, 0x856e90\nLDRNE           R3, [R0]                                               ; +0x4, 0x856e94\nSTRNE           R3, [R1]                                               ; +0x8, 0x856e98\nLDR             R3, [R0]                                               ; +0xc, 0x856e9c\nCMP             R3, #8; switch 9 cases                                 ; +0x10, 0x856ea0\nADDLS           PC, PC, R3,LSL#2; switch jump                          ; +0x14, 0x856ea4\nB               def_856EA4; jumptable 00856EA4 default case            ; +0x18, 0x856ea8\nB               loc_856ED0; jumptable 00856EA4 cases 0-8               ; +0x1c, 0x856eac\nB               loc_856ED0; jumptable 00856EA4 cases 0-8               ; +0x20, 0x856eb0\nB               loc_856ED0; jumptable 00856EA4 cases 0-8               ; +0x24, 0x856eb4\nB               loc_856ED0; jumptable 00856EA4 cases 0-8               ; +0x28, 0x856eb8\nB               loc_856ED0; jumptable 00856EA4 cases 0-8               ; +0x2c, 0x856ebc\nB               loc_856ED0; jumptable 00856EA4 cases 0-8               ; +0x30, 0x856ec0\nB               loc_856ED0; jumptable 00856EA4 cases 0-8               ; +0x34, 0x856ec4\nB               loc_856ED0; jumptable 00856EA4 cases 0-8               ; +0x38, 0x856ec8\nB               loc_856ED0; jumptable 00856EA4 cases 0-8               ; +0x3c, 0x856ecc\nLDR             R0, [R0,#4]; jumptable 00856EA4 cases 0-8              ; +0x40, 0x856ed0\nBX              LR                                                     ; +0x44, 0x856ed4\nMOV             R0, #0; jumptable 00856EA4 default case                ; +0x48, 0x856ed8\nBX              LR                                                     ; +0x4c, 0x856edc", "xrefs": ["<???> @ 0x690cc"], "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"}