{"type": "func", "start": 791236, "end": 791270, "name": "sub_C12C4", "pseudocode": "// \n// sub_C12C4 from 0xc12c4 to 0xc12e6 (34 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_C12C4(int *a1, _DWORD *a2)\n{\n  int result; // r0\n\n  result = sub_C0894((int)a1);\n  if ( !result )\n  {\n    result = sub_C0EE8(a1);\n    if ( !result )\n    {\n      *a2 = *(_DWORD *)(*a1 + 36);\n      return 0;\n    }\n  }\n  return result;\n}", "assembly": "; \n; sub_C12C4 from 0xc12c4 to 0xc12e6 (34 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            {R4,R5,R7,LR}                                          ; +0x0, 0xc12c4\nADD             R7, SP, #8                                             ; +0x2, 0xc12c6\nMOV             R4, R1                                                 ; +0x4, 0xc12c8\nMOV             R5, R0                                                 ; +0x6, 0xc12ca\nBL              sub_C0894                                              ; +0x8, 0xc12cc\nCBNZ            R0, locret_C12DA                                       ; +0xc, 0xc12d0\nMOV             R0, R5                                                 ; +0xe, 0xc12d2\nBL              sub_C0EE8                                              ; +0x10, 0xc12d4\nCBZ             R0, loc_C12DC                                          ; +0x14, 0xc12d8\nPOP             {R4,R5,R7,PC}                                          ; +0x16, 0xc12da\nLDR             R0, [R5]                                               ; +0x18, 0xc12dc\nLDR             R0, [R0,#0x24]                                         ; +0x1a, 0xc12de\nSTR             R0, [R4]                                               ; +0x1c, 0xc12e0\nMOVS            R0, #0                                                 ; +0x1e, 0xc12e2\nPOP             {R4,R5,R7,PC}                                          ; +0x20, 0xc12e4", "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"}