{"type": "func", "start": 439752, "end": 439812, "name": "sub_6B5C8", "pseudocode": "// \n// sub_6B5C8 from 0x6b5c8 to 0x6b604 (60 bytes)\n// \n// 2 xrefs:\n// > sub_6B00C @ 0x6b414\n// > sub_6B00C @ 0x6b428\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:13:57 +0000\n// \n\n__int64 __fastcall sub_6B5C8(__int64 a1, _DWORD *a2)\n{\n  __int64 result; // x0\n\n  result = sub_E0A30(*(_QWORD *)(a1 + 368));\n  if ( a2 )\n    *a2 -= *(_DWORD *)(a1 + 272);\n  return result;\n}", "assembly": "; \n; sub_6B5C8 from 0x6b5c8 to 0x6b604 (60 bytes)\n; \n; 2 xrefs:\n; > sub_6B00C @ 0x6b414\n; > sub_6B00C @ 0x6b428\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:13:57 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x6b5c8\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x6b5cc\nMOV             X20, X0                                                ; +0x8, 0x6b5d0\nLDR             X0, [X0,#0x170]                                        ; +0xc, 0x6b5d4\nADD             X29, SP, #0x10                                         ; +0x10, 0x6b5d8\nMOV             X19, X1                                                ; +0x14, 0x6b5dc\nBL              sub_E0A30                                              ; +0x18, 0x6b5e0\nCBZ             X19, loc_6B5F8                                         ; +0x1c, 0x6b5e4\nLDR             W8, [X20,#0x110]                                       ; +0x20, 0x6b5e8\nLDR             W9, [X19]                                              ; +0x24, 0x6b5ec\nSUB             W8, W9, W8                                             ; +0x28, 0x6b5f0\nSTR             W8, [X19]                                              ; +0x2c, 0x6b5f4\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x30, 0x6b5f8\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x34, 0x6b5fc\nRET                                                                    ; +0x38, 0x6b600", "xrefs": ["sub_6B00C @ 0x6b414", "sub_6B00C @ 0x6b428"], "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"}