{"type": "func", "start": 786484, "end": 786524, "name": "sub_C0034", "pseudocode": "// \n// sub_C0034 from 0xc0034 to 0xc005c (40 bytes)\n// \n// 1 xrefs:\n// > sub_4ECA0 @ 0x4ece0\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_C0034(int a1, int a2, int a3, int a4)\n{\n  int v4; // r4\n  int v6; // [sp+4h] [bp-Ch] BYREF\n\n  v6 = a4;\n  if ( (sub_D399C(a1, a2) & 0x10) == 0 )\n    return 41;\n  v6 = 0;\n  v4 = sub_BFE7C((int)&v6);\n  if ( !v4 )\n    sub_BF6E8();\n  return v4;\n}", "assembly": "; \n; sub_C0034 from 0xc0034 to 0xc005c (40 bytes)\n; \n; 1 xrefs:\n; > sub_4ECA0 @ 0x4ece0\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            {R2-R4,R6,R7,LR}                                       ; +0x0, 0xc0034\nADD             R7, SP, #0x10                                          ; +0x2, 0xc0036\nBL              sub_D399C                                              ; +0x4, 0xc0038\nLSLS            R0, R0, #0x1B                                          ; +0x8, 0xc003c\nBMI             loc_C0044                                              ; +0xa, 0xc003e\nMOVS            R4, #0x29 ; ')'                                        ; +0xc, 0xc0040\nB               loc_C0056                                              ; +0xe, 0xc0042\nMOVS            R0, #0                                                 ; +0x10, 0xc0044\nSTR             R0, [SP,#8+var_4]                                      ; +0x12, 0xc0046\nADD             R0, SP, #8+var_4                                       ; +0x14, 0xc0048\nBL              sub_BFE7C                                              ; +0x16, 0xc004a\nMOV             R4, R0                                                 ; +0x1a, 0xc004e\nCBNZ            R0, loc_C0056                                          ; +0x1c, 0xc0050\nBL              sub_BF6E8                                              ; +0x1e, 0xc0052\nMOV             R0, R4                                                 ; +0x22, 0xc0056\nADD             SP, SP, #8                                             ; +0x24, 0xc0058\nPOP             {R4,R6,R7,PC}                                          ; +0x26, 0xc005a", "xrefs": ["sub_4ECA0 @ 0x4ece0"], "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"}