{"type": "func", "start": 831768, "end": 831816, "name": "sub_CB118", "pseudocode": "// \n// sub_CB118 from 0xcb118 to 0xcb148 (48 bytes)\n// \n// 2 xrefs:\n// > sub_CAABC @ 0xcad90\n// > sub_CAF24 @ 0xcb0a8\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\n__int64 __fastcall sub_CB118(__int64 a1)\n{\n  __int64 v1; // x8\n  __int64 v2; // x8\n\n  if ( *(_WORD *)(a1 + 424) != 1 || (v1 = *(_QWORD *)(*(_QWORD *)(a1 + 120) + 16LL), (*(_BYTE *)(v1 + 124) & 4) != 0) )\n    v2 = 0;\n  else\n    v2 = *(_QWORD *)(v1 + 88);\n  *(_QWORD *)(a1 + 112) = v2;\n  return 0;\n}", "assembly": "; \n; sub_CB118 from 0xcb118 to 0xcb148 (48 bytes)\n; \n; 2 xrefs:\n; > sub_CAABC @ 0xcad90\n; > sub_CAF24 @ 0xcb0a8\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\nLDRH            W8, [X0,#0x1A8]                                        ; +0x0, 0xcb118\nCMP             W8, #1                                                 ; +0x4, 0xcb11c\nB.NE            loc_CB13C                                              ; +0x8, 0xcb120\nLDR             X8, [X0,#0x78]                                         ; +0xc, 0xcb124\nLDR             X8, [X8,#0x10]                                         ; +0x10, 0xcb128\nLDRB            W9, [X8,#0x7C]                                         ; +0x14, 0xcb12c\nTBNZ            W9, #2, loc_CB13C                                      ; +0x18, 0xcb130\nLDR             X8, [X8,#0x58]                                         ; +0x1c, 0xcb134\nB               loc_CB140                                              ; +0x20, 0xcb138\nMOV             X8, XZR                                                ; +0x24, 0xcb13c\nSTR             X8, [X0,#0x70]                                         ; +0x28, 0xcb140\nB               loc_CD0B8                                              ; +0x2c, 0xcb144", "xrefs": ["sub_CAABC @ 0xcad90", "sub_CAF24 @ 0xcb0a8"], "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"}