{"type": "func", "start": 312584, "end": 312610, "name": "sub_4C508", "pseudocode": "// \n// sub_4C508 from 0x4c508 to 0x4c522 (26 bytes)\n// \n// 0 xrefs:\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_4C508(int a1, _BYTE *a2)\n{\n  int v2; // r0\n\n  if ( !a2 )\n    return 31;\n  v2 = *(_DWORD *)(a1 + 332);\n  if ( v2 )\n    return (*(int (__fastcall **)(int))(*(_DWORD *)v2 + 96))(v2);\n  *a2 = 0;\n  return 30;\n}", "assembly": "; \n; sub_4C508 from 0x4c508 to 0x4c522 (26 bytes)\n; \n; 0 xrefs:\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             R1, loc_4C516                                          ; +0x0, 0x4c508\nLDR.W           R0, [R0,#0x14C]                                        ; +0x2, 0x4c50a\nCBZ             R0, loc_4C51A                                          ; +0x6, 0x4c50e\nLDR             R2, [R0]                                               ; +0x8, 0x4c510\nLDR             R2, [R2,#0x60]                                         ; +0xa, 0x4c512\nBX              R2                                                     ; +0xc, 0x4c514\nMOVS            R0, #0x1F                                              ; +0xe, 0x4c516\nBX              LR                                                     ; +0x10, 0x4c518\nMOVS            R0, #0                                                 ; +0x12, 0x4c51a\nSTRB            R0, [R1]                                               ; +0x14, 0x4c51c\nMOVS            R0, #0x1E                                              ; +0x16, 0x4c51e\nBX              LR                                                     ; +0x18, 0x4c520", "xrefs": [], "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"}