{"type": "func", "start": 6442729264, "end": 6442729376, "name": "sub_180043F30", "pseudocode": "// \n// sub_180043F30 from 0x180043f30 to 0x180043fa0 (112 bytes)\n// \n// 2 xrefs:\n// > sub_180045B60 @ 0x1800461ea\n// > <???> @ 0x1801f813c\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n__int64 __fastcall sub_180043F30(__int64 a1, __int64 a2, _QWORD *a3)\n{\n  __int64 v5; // r8\n  unsigned int (__fastcall *v6)(__int64, _QWORD *, _QWORD); // rax\n  __int64 v7; // rcx\n\n  v5 = *(_QWORD *)(a2 + 8);\n  v6 = *(unsigned int (__fastcall **)(__int64, _QWORD *, _QWORD))(v5 + 16);\n  if ( !v6 || v6(a2, a3, *(_QWORD *)(v5 + 104)) || !sub_180041B90(*(_QWORD *)(*(_QWORD *)(a2 + 8) + 120LL)) )\n    return 0;\n  v7 = (unsigned int)sub_180041A40(*(_DWORD **)(*(_QWORD *)(a2 + 8) + 120LL)) >> 3;\n  *a3 -= v7;\n  return 1;\n}", "assembly": "; \n; sub_180043F30 from 0x180043f30 to 0x180043fa0 (112 bytes)\n; \n; 2 xrefs:\n; > sub_180045B60 @ 0x1800461ea\n; > <???> @ 0x1801f813c\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180043f30\npush    rdi                                                            ; +0x5, 0x180043f35\nsub     rsp, 20h                                                       ; +0x6, 0x180043f36\nmov     rdi, r8                                                        ; +0xa, 0x180043f3a\nmov     rbx, rdx                                                       ; +0xd, 0x180043f3d\nmov     r8, [rdx+8]                                                    ; +0x10, 0x180043f40\nmov     rax, [r8+10h]                                                  ; +0x14, 0x180043f44\ntest    rax, rax                                                       ; +0x18, 0x180043f48\njz      short loc_180043F93                                            ; +0x1b, 0x180043f4b\nmov     r8, [r8+68h]                                                   ; +0x1d, 0x180043f4d\nmov     rdx, rdi                                                       ; +0x21, 0x180043f51\nmov     rcx, rbx                                                       ; +0x24, 0x180043f54\ncall    rax                                                            ; +0x27, 0x180043f57\ntest    eax, eax                                                       ; +0x29, 0x180043f59\njnz     short loc_180043F93                                            ; +0x2b, 0x180043f5b\nmov     rcx, [rbx+8]                                                   ; +0x2d, 0x180043f5d\nmov     rcx, [rcx+78h]                                                 ; +0x31, 0x180043f61\ncall    sub_180041B90                                                  ; +0x35, 0x180043f65\ntest    eax, eax                                                       ; +0x3a, 0x180043f6a\njz      short loc_180043F93                                            ; +0x3c, 0x180043f6c\nmov     rcx, [rbx+8]                                                   ; +0x3e, 0x180043f6e\nmov     rcx, [rcx+78h]                                                 ; +0x42, 0x180043f72\ncall    sub_180041A40                                                  ; +0x46, 0x180043f76\nshr     eax, 3                                                         ; +0x4b, 0x180043f7b\nmov     ecx, eax                                                       ; +0x4e, 0x180043f7e\nmov     eax, 1                                                         ; +0x50, 0x180043f80\nsub     [rdi], rcx                                                     ; +0x55, 0x180043f85\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x58, 0x180043f88\nadd     rsp, 20h                                                       ; +0x5d, 0x180043f8d\npop     rdi                                                            ; +0x61, 0x180043f91\nretn                                                                   ; +0x62, 0x180043f92\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x63, 0x180043f93\nxor     eax, eax                                                       ; +0x68, 0x180043f98\nadd     rsp, 20h                                                       ; +0x6a, 0x180043f9a\npop     rdi                                                            ; +0x6e, 0x180043f9e\nretn                                                                   ; +0x6f, 0x180043f9f", "xrefs": ["sub_180045B60 @ 0x1800461ea", "<???> @ 0x1801f813c"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}