{"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 (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:40:41 +0000\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 (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:40:41 +0000\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_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}