{"type": "func", "start": 313922, "end": 313936, "name": "sub_4CA42", "pseudocode": "// \n// sub_4CA42 from 0x4ca42 to 0x4ca50 (14 bytes)\n// \n// 4 xrefs:\n// > sub_59E7A @ 0x59e90\n// > sub_65494 @ 0x65514\n// > sub_66EE4 @ 0x66f3e\n// > sub_66EE4 @ 0x66f5e\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_4CA42(int a1, _DWORD *a2)\n{\n  if ( !a2 )\n    return 31;\n  *a2 = *(_DWORD *)(a1 + 4);\n  return 0;\n}", "assembly": "; \n; sub_4CA42 from 0x4ca42 to 0x4ca50 (14 bytes)\n; \n; 4 xrefs:\n; > sub_59E7A @ 0x59e90\n; > sub_65494 @ 0x65514\n; > sub_66EE4 @ 0x66f3e\n; > sub_66EE4 @ 0x66f5e\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\nCMP             R1, #0                                                 ; +0x0, 0x4ca42\nITEEE EQ                                                               ; +0x2, 0x4ca44\nMOVEQ           R0, #0x1F                                              ; +0x4, 0x4ca46\nLDRNE           R0, [R0,#4]                                            ; +0x6, 0x4ca48\nSTRNE           R0, [R1]                                               ; +0x8, 0x4ca4a\nMOVNE           R0, #0                                                 ; +0xa, 0x4ca4c\nBX              LR                                                     ; +0xc, 0x4ca4e", "xrefs": ["sub_59E7A @ 0x59e90", "sub_65494 @ 0x65514", "sub_66EE4 @ 0x66f3e", "sub_66EE4 @ 0x66f5e"], "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"}