{"type": "func", "start": 816404, "end": 816472, "name": "sub_C7514", "pseudocode": "// \n// sub_C7514 from 0xc7514 to 0xc7558 (68 bytes)\n// \n// 2 xrefs:\n// > sub_53BB0 @ 0x53c68\n// > <???> @ 0x10ef38\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:46 +0000\n// \n\n__int64 __fastcall sub_C7514(__int64 a1, bool *a2)\n{\n  __int16 v2; // w8\n  bool v3; // w8\n\n  v2 = atomic_load((unsigned int *)(a1 + 100));\n  if ( (v2 & 0x100) != 0 )\n    v3 = *(_DWORD *)(a1 + 564) == 0;\n  else\n    v3 = *(_DWORD *)(*(_QWORD *)(a1 + 168) + 69864LL) >= *(_DWORD *)(a1 + 564);\n  *a2 = v3;\n  return 0;\n}", "assembly": "; \n; sub_C7514 from 0xc7514 to 0xc7558 (68 bytes)\n; \n; 2 xrefs:\n; > sub_53BB0 @ 0x53c68\n; > <???> @ 0x10ef38\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:46 +0000\n; \nADD             X8, X0, #0x64 ; 'd'                                    ; +0x0, 0xc7514\nLDAR            W8, [X8]                                               ; +0x4, 0xc7518\nTBNZ            W8, #8, loc_C7540                                      ; +0x8, 0xc751c\nLDR             X8, [X0,#0xA8]                                         ; +0xc, 0xc7520\nMOV             W9, #0x110E8                                           ; +0x10, 0xc7524\nLDR             W8, [X8,X9]                                            ; +0x18, 0xc752c\nLDR             W9, [X0,#0x234]                                        ; +0x1c, 0xc7530\nCMP             W8, W9                                                 ; +0x20, 0xc7534\nCSET            W8, CS                                                 ; +0x24, 0xc7538\nB               loc_C754C                                              ; +0x28, 0xc753c\nLDR             W8, [X0,#0x234]                                        ; +0x2c, 0xc7540\nCMP             W8, #0                                                 ; +0x30, 0xc7544\nCSET            W8, EQ                                                 ; +0x34, 0xc7548\nMOV             W0, WZR                                                ; +0x38, 0xc754c\nSTRB            W8, [X1]                                               ; +0x3c, 0xc7550\nRET                                                                    ; +0x40, 0xc7554", "xrefs": ["sub_53BB0 @ 0x53c68", "<???> @ 0x10ef38"], "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"}