{"type": "func", "start": 573472, "end": 573576, "name": "sub_8C020", "pseudocode": "// \n// sub_8C020 from 0x8c020 to 0x8c088 (104 bytes)\n// \n// 1 xrefs:\n// > sub_8B6A4 @ 0x8b6a4\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:12 +0000\n// \n\n__int64 __fastcall sub_8C020(__int64 a1, int a2, __int64 a3, unsigned int a4, __int64 a5, __int64 a6)\n{\n  __int64 result; // x0\n  int *v9; // [xsp+8h] [xbp-18h] BYREF\n\n  *(_QWORD *)(a1 + 432) = a5;\n  v9 = nullptr;\n  result = (*(__int64 (__fastcall **)(__int64, _QWORD, int **, _QWORD))(a6 + 240))(a6, a4, &v9, 0);\n  if ( !(_DWORD)result )\n    return sub_8BADC(a1, a2, *(_DWORD *)(*(_QWORD *)(a1 + 8) + 16LL), *v9, (__int64)(v9 + 2));\n  return result;\n}", "assembly": "; \n; sub_8C020 from 0x8c020 to 0x8c088 (104 bytes)\n; \n; 1 xrefs:\n; > sub_8B6A4 @ 0x8b6a4\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:12 +0000\n; \nSUB             SP, SP, #0x30                                          ; +0x0, 0x8c020\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x8c024\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x8c028\nSTR             X4, [X0,#0x1B0]                                        ; +0xc, 0x8c02c\nSTR             XZR, [SP,#0x20+var_18]                                 ; +0x10, 0x8c030\nLDR             X8, [X5,#0xF0]                                         ; +0x14, 0x8c034\nMOV             X19, X0                                                ; +0x18, 0x8c038\nMOV             W20, W1                                                ; +0x1c, 0x8c03c\nADD             X2, SP, #0x20+var_18                                   ; +0x20, 0x8c040\nMOV             X0, X5                                                 ; +0x24, 0x8c044\nMOV             W1, W3                                                 ; +0x28, 0x8c048\nMOV             X3, XZR                                                ; +0x2c, 0x8c04c\nADD             X29, SP, #0x20                                         ; +0x30, 0x8c050\nBLR             X8                                                     ; +0x34, 0x8c054\nCBNZ            W0, loc_8C078                                          ; +0x38, 0x8c058\nLDR             X8, [X19,#8]                                           ; +0x3c, 0x8c05c\nLDR             X4, [SP,#0x20+var_18]                                  ; +0x40, 0x8c060\nMOV             X0, X19                                                ; +0x44, 0x8c064\nMOV             W1, W20                                                ; +0x48, 0x8c068\nLDR             W2, [X8,#0x10]                                         ; +0x4c, 0x8c06c\nLDR             W3, [X4],#8                                            ; +0x50, 0x8c070\nBL              sub_8BADC                                              ; +0x54, 0x8c074\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x58, 0x8c078\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x5c, 0x8c07c\nADD             SP, SP, #0x30 ; '0'                                    ; +0x60, 0x8c080\nRET                                                                    ; +0x64, 0x8c084", "xrefs": ["sub_8B6A4 @ 0x8b6a4"], "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"}