{"type": "func", "start": 838648, "end": 838740, "name": "sub_CCBF8", "pseudocode": "// \n// sub_CCBF8 from 0xccbf8 to 0xccc54 (92 bytes)\n// \n// 2 xrefs:\n// > sub_6B00C @ 0x6b3e4\n// > <???> @ 0x10f828\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_CCBF8(__int64 a1, _DWORD *a2, _DWORD *a3)\n{\n  __int64 v3; // x8\n  __int64 result; // x0\n\n  if ( !a1 )\n    return 31;\n  v3 = *((_QWORD *)off_114000 + *(int *)(a1 + 48) + 46);\n  if ( !*(_BYTE *)(v3 + 8) )\n    return 67;\n  if ( a2 )\n    *a2 = *(_DWORD *)(v3 + 70460);\n  result = 0;\n  if ( a3 )\n    *a3 = *(_DWORD *)(*(_QWORD *)(v3 + 1648) + 84LL);\n  return result;\n}", "assembly": "; \n; sub_CCBF8 from 0xccbf8 to 0xccc54 (92 bytes)\n; \n; 2 xrefs:\n; > sub_6B00C @ 0x6b3e4\n; > <???> @ 0x10f828\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\nCBZ             X0, loc_CCC48                                          ; +0x0, 0xccbf8\nADRP            X8, #off_10F7A0@PAGE                                   ; +0x4, 0xccbfc\nLDR             X8, [X8,#off_10F7A0@PAGEOFF]; off_114000               ; +0x8, 0xccc00\nLDRSW           X9, [X0,#0x30]                                         ; +0xc, 0xccc04\nLDR             X8, [X8]; qword_11F800                                 ; +0x10, 0xccc08\nADD             X8, X8, X9,LSL#3                                       ; +0x14, 0xccc0c\nLDR             X8, [X8,#0x170]                                        ; +0x18, 0xccc10\nLDRB            W9, [X8,#8]                                            ; +0x1c, 0xccc14\nCBZ             W9, loc_CCC4C                                          ; +0x20, 0xccc18\nCBZ             X1, loc_CCC30                                          ; +0x24, 0xccc1c\nMOV             W9, #0x1133C                                           ; +0x28, 0xccc20\nLDR             W9, [X8,X9]                                            ; +0x30, 0xccc28\nSTR             W9, [X1]                                               ; +0x34, 0xccc2c\nMOV             W0, WZR                                                ; +0x38, 0xccc30\nCBZ             X2, locret_CCC44                                       ; +0x3c, 0xccc34\nLDR             X8, [X8,#0x670]                                        ; +0x40, 0xccc38\nLDR             W8, [X8,#0x54]                                         ; +0x44, 0xccc3c\nSTR             W8, [X2]                                               ; +0x48, 0xccc40\nRET                                                                    ; +0x4c, 0xccc44\nB               loc_CD08C                                              ; +0x50, 0xccc48\nMOV             W0, #0x43 ; 'C'                                        ; +0x54, 0xccc4c\nRET                                                                    ; +0x58, 0xccc50", "xrefs": ["sub_6B00C @ 0x6b3e4", "<???> @ 0x10f828"], "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"}