{"type": "func", "start": 838340, "end": 838416, "name": "sub_CCAC4", "pseudocode": "// \n// sub_CCAC4 from 0xccac4 to 0xccb10 (76 bytes)\n// \n// 1 xrefs:\n// > FMOD::DSP::getCPUUsage @ 0xd4c84\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:14:49 +0000\n// \n\n__int64 __fastcall sub_CCAC4(__int64 a1, _DWORD *a2, _DWORD *a3)\n{\n  unsigned int v3; // w8\n\n  if ( (*(_BYTE *)(*(_QWORD *)(a1 + 168) + 122LL) & 1) != 0 || *((_BYTE *)off_168 + (_QWORD)off_114000) )\n  {\n    if ( a2 )\n      *a2 = *(_DWORD *)(a1 + 488);\n    v3 = 0;\n    if ( a3 )\n      *a3 = *(_DWORD *)(a1 + 492);\n  }\n  else\n  {\n    return 1;\n  }\n  return v3;\n}", "assembly": "; \n; sub_CCAC4 from 0xccac4 to 0xccb10 (76 bytes)\n; \n; 1 xrefs:\n; > FMOD::DSP::getCPUUsage @ 0xd4c84\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:14:49 +0000\n; \nLDR             X8, [X0,#0xA8]                                         ; +0x0, 0xccac4\nLDRB            W8, [X8,#0x7A]                                         ; +0x4, 0xccac8\nTBNZ            W8, #0, loc_CCAE4                                      ; +0x8, 0xccacc\nADRP            X8, #off_10F7A0@PAGE                                   ; +0xc, 0xccad0\nLDR             X8, [X8,#off_10F7A0@PAGEOFF]; off_114000               ; +0x10, 0xccad4\nLDR             X8, [X8]; qword_11F800                                 ; +0x14, 0xccad8\nLDRB            W8, [X8,#(byte_11F968 - 0x11F800)]                     ; +0x18, 0xccadc\nCBZ             W8, loc_CCB04                                          ; +0x1c, 0xccae0\nCBZ             X1, loc_CCAF0                                          ; +0x20, 0xccae4\nLDR             W8, [X0,#0x1E8]                                        ; +0x24, 0xccae8\nSTR             W8, [X1]                                               ; +0x28, 0xccaec\nMOV             W8, WZR                                                ; +0x2c, 0xccaf0\nCBZ             X2, loc_CCB08                                          ; +0x30, 0xccaf4\nLDR             W9, [X0,#0x1EC]                                        ; +0x34, 0xccaf8\nSTR             W9, [X2]                                               ; +0x38, 0xccafc\nB               loc_CCB08                                              ; +0x3c, 0xccb00\nMOV             W8, #1                                                 ; +0x40, 0xccb04\nMOV             W0, W8                                                 ; +0x44, 0xccb08\nRET                                                                    ; +0x48, 0xccb0c", "xrefs": ["FMOD::DSP::getCPUUsage @ 0xd4c84"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}