{"type": "func", "start": 326284, "end": 326316, "name": "sub_4FA8C", "pseudocode": "// \n// sub_4FA8C from 0x4fa8c to 0x4faac (32 bytes)\n// \n// 3 xrefs:\n// > sub_7A260 @ 0x7a59e\n// > sub_7AB38 @ 0x7ae76\n// > sub_82C94 @ 0x83096\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 sub_4FA8C(int a1, unsigned int a2, int *a3)\n{\n  int v3; // r0\n\n  if ( !a3 )\n    return 31;\n  if ( a2 > 0xF )\n    v3 = 8363;\n  else\n    v3 = dword_2287C[(char)a2];\n  *a3 = v3;\n  return 0;\n}", "assembly": "; \n; sub_4FA8C from 0x4fa8c to 0x4faac (32 bytes)\n; \n; 3 xrefs:\n; > sub_7A260 @ 0x7a59e\n; > sub_7AB38 @ 0x7ae76\n; > sub_82C94 @ 0x83096\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\nCBZ             R2, loc_4FA9E                                          ; +0x0, 0x4fa8c\nCMP             R1, #0xF                                               ; +0x2, 0x4fa8e\nBHI             loc_4FAA2                                              ; +0x4, 0x4fa90\nSXTB            R0, R1                                                 ; +0x6, 0x4fa92\nLDR             R1, =(dword_2287C - 0x4FA9A)                           ; +0x8, 0x4fa94\nADD             R1, PC; dword_2287C                                    ; +0xa, 0x4fa96\nLDR.W           R0, [R1,R0,LSL#2]                                      ; +0xc, 0x4fa98\nB               loc_4FAA6                                              ; +0x10, 0x4fa9c\nMOVS            R0, #0x1F                                              ; +0x12, 0x4fa9e\nBX              LR                                                     ; +0x14, 0x4faa0\nMOVW            R0, #0x20AB                                            ; +0x16, 0x4faa2\nSTR             R0, [R2]                                               ; +0x1a, 0x4faa6\nMOVS            R0, #0                                                 ; +0x1c, 0x4faa8\nBX              LR                                                     ; +0x1e, 0x4faaa", "xrefs": ["sub_7A260 @ 0x7a59e", "sub_7AB38 @ 0x7ae76", "sub_82C94 @ 0x83096"], "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"}