{"type": "func", "start": 411116, "end": 411164, "name": "sub_645EC", "pseudocode": "// \n// sub_645EC from 0x645ec to 0x6461c (48 bytes)\n// \n// 2 xrefs:\n// > sub_645A0 @ 0x645c4\n// > sub_7DBC4 @ 0x7dd34\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:54 +0000\n// \n\n_QWORD *__fastcall sub_645EC(__int64 a1)\n{\n  int v1; // w9\n  _QWORD *v3; // x8\n\n  v1 = *(_DWORD *)(a1 + 8);\n  if ( v1 > 0 )\n    return &off_18 + 4;\n  v3 = *(_QWORD **)a1;\n  *(_DWORD *)(a1 + 8) = v1 + 1;\n  return (*(_QWORD *(__fastcall **)(_QWORD *__return_ptr, _QWORD *))*v3)(v3, v3);\n}", "assembly": "; \n; sub_645EC from 0x645ec to 0x6461c (48 bytes)\n; \n; 2 xrefs:\n; > sub_645A0 @ 0x645c4\n; > sub_7DBC4 @ 0x7dd34\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:54 +0000\n; \nLDR             W9, [X0,#8]                                            ; +0x0, 0x645ec\nCMP             W9, #0                                                 ; +0x4, 0x645f0\nB.LE            loc_64600                                              ; +0x8, 0x645f4\nMOV             W0, #0x1C                                              ; +0xc, 0x645f8\nRET                                                                    ; +0x10, 0x645fc\nLDR             X8, [X0]                                               ; +0x14, 0x64600\nADD             W9, W9, #1                                             ; +0x18, 0x64604\nSTR             W9, [X0,#8]                                            ; +0x1c, 0x64608\nLDR             X9, [X8]                                               ; +0x20, 0x6460c\nMOV             X0, X8                                                 ; +0x24, 0x64610\nLDR             X3, [X9]                                               ; +0x28, 0x64614\nBR              X3                                                     ; +0x2c, 0x64618", "xrefs": ["sub_645A0 @ 0x645c4", "sub_7DBC4 @ 0x7dd34"], "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"}