{"type": "func", "start": 312844, "end": 312888, "name": "sub_4C60C", "pseudocode": "// \n// sub_4C60C from 0x4c60c to 0x4c638 (44 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_4C60C(int a1, _DWORD *a2)\n{\n  int v2; // r2\n  int result; // r0\n  int v4; // r0\n\n  v2 = *(_DWORD *)(a1 + 332);\n  if ( !v2 || !*(_DWORD *)(a1 + 16) )\n    return 30;\n  if ( !*(_DWORD *)(v2 + 20) )\n  {\n    v4 = *(_DWORD *)(v2 + 24);\n    if ( v4 )\n    {\n      *a2 = *(unsigned __int16 *)(v4 + 192);\n      return 0;\n    }\n    return 30;\n  }\n  result = sub_55C0E();\n  if ( !result )\n    return 0;\n  return result;\n}", "assembly": "; \n; sub_4C60C from 0x4c60c to 0x4c638 (44 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\nPUSH            {R7,LR}                                                ; +0x0, 0x4c60c\nMOV             R7, SP                                                 ; +0x2, 0x4c60e\nLDR.W           R2, [R0,#0x14C]                                        ; +0x4, 0x4c610\nCBZ             R2, loc_4C634                                          ; +0x8, 0x4c614\nLDR             R0, [R0,#0x10]                                         ; +0xa, 0x4c616\nCBZ             R0, loc_4C634                                          ; +0xc, 0x4c618\nLDR             R0, [R2,#0x14]                                         ; +0xe, 0x4c61a\nCBZ             R0, loc_4C626                                          ; +0x10, 0x4c61c\nBL              sub_55C0E                                              ; +0x12, 0x4c61e\nCBZ             R0, loc_4C630                                          ; +0x16, 0x4c622\nPOP             {R7,PC}                                                ; +0x18, 0x4c624\nLDR             R0, [R2,#0x18]                                         ; +0x1a, 0x4c626\nCBZ             R0, loc_4C634                                          ; +0x1c, 0x4c628\nLDRH.W          R0, [R0,#0xC0]                                         ; +0x1e, 0x4c62a\nSTR             R0, [R1]                                               ; +0x22, 0x4c62e\nMOVS            R0, #0                                                 ; +0x24, 0x4c630\nPOP             {R7,PC}                                                ; +0x26, 0x4c632\nMOVS            R0, #0x1E                                              ; +0x28, 0x4c634\nPOP             {R7,PC}                                                ; +0x2a, 0x4c636", "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"}