{"type": "func", "start": 313492, "end": 313516, "name": "sub_4C894", "pseudocode": "// \n// sub_4C894 from 0x4c894 to 0x4c8ac (24 bytes)\n// \n// 7 xrefs:\n// > sub_4C6A4 @ 0x4c6be\n// > sub_4C6EA @ 0x4c702\n// > sub_55F8A @ 0x55f8c\n// > sub_702B4 @ 0x702c6\n// > sub_85CA8 @ 0x85cc2\n// > sub_B294C @ 0xb2986\n// > sub_C17FC @ 0xc1886\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_4C894(int a1, _DWORD *a2)\n{\n  unsigned int v2; // r0\n\n  v2 = a1 - 1;\n  *a2 = 0;\n  if ( v2 <= 4 )\n    *a2 = dword_22868[v2];\n  return 0;\n}", "assembly": "; \n; sub_4C894 from 0x4c894 to 0x4c8ac (24 bytes)\n; \n; 7 xrefs:\n; > sub_4C6A4 @ 0x4c6be\n; > sub_4C6EA @ 0x4c702\n; > sub_55F8A @ 0x55f8c\n; > sub_702B4 @ 0x702c6\n; > sub_85CA8 @ 0x85cc2\n; > sub_B294C @ 0xb2986\n; > sub_C17FC @ 0xc1886\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\nSUBS            R0, #1                                                 ; +0x0, 0x4c894\nMOVS            R2, #0                                                 ; +0x2, 0x4c896\nCMP             R0, #4                                                 ; +0x4, 0x4c898\nSTR             R2, [R1]                                               ; +0x6, 0x4c89a\nBHI             loc_4C8A8                                              ; +0x8, 0x4c89c\nLDR             R2, =(dword_22868 - 0x4C8A4)                           ; +0xa, 0x4c89e\nADD             R2, PC; dword_22868                                    ; +0xc, 0x4c8a0\nLDR.W           R0, [R2,R0,LSL#2]                                      ; +0xe, 0x4c8a2\nSTR             R0, [R1]                                               ; +0x12, 0x4c8a6\nMOVS            R0, #0                                                 ; +0x14, 0x4c8a8\nBX              LR                                                     ; +0x16, 0x4c8aa", "xrefs": ["sub_4C6A4 @ 0x4c6be", "sub_4C6EA @ 0x4c702", "sub_55F8A @ 0x55f8c", "sub_702B4 @ 0x702c6", "sub_85CA8 @ 0x85cc2", "sub_B294C @ 0xb2986", "sub_C17FC @ 0xc1886"], "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"}