{"type": "func", "start": 313468, "end": 313492, "name": "sub_4C87C", "pseudocode": "// \n// sub_4C87C from 0x4c87c to 0x4c894 (24 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_4C87C(int a1, _DWORD *a2)\n{\n  int v2; // r0\n\n  if ( !a2 )\n    return 31;\n  v2 = *(_DWORD *)(a1 + 332);\n  if ( !v2 )\n    return 30;\n  *a2 = *(_DWORD *)(v2 + 28);\n  return 0;\n}", "assembly": "; \n; sub_4C87C from 0x4c87c to 0x4c894 (24 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_4C890                                          ; +0x0, 0x4c87c\nLDR.W           R0, [R0,#0x14C]                                        ; +0x2, 0x4c87e\nCMP             R0, #0                                                 ; +0x6, 0x4c882\nITEEE EQ                                                               ; +0x8, 0x4c884\nMOVEQ           R0, #0x1E                                              ; +0xa, 0x4c886\nLDRNE           R0, [R0,#0x1C]                                         ; +0xc, 0x4c888\nSTRNE           R0, [R1]                                               ; +0xe, 0x4c88a\nMOVNE           R0, #0                                                 ; +0x10, 0x4c88c\nBX              LR                                                     ; +0x12, 0x4c88e\nMOVS            R0, #0x1F                                              ; +0x14, 0x4c890\nBX              LR                                                     ; +0x16, 0x4c892", "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"}