{"type": "func", "start": 6442736528, "end": 6442736614, "name": "sub_180045B90", "pseudocode": "// \n// sub_180045B90 from 0x180045b90 to 0x180045be6 (86 bytes)\n// \n// 6 xrefs:\n// > sub_180001360 @ 0x1800013e9\n// > sub_1800452C0 @ 0x180045359\n// > sub_1800457A0 @ 0x180045815\n// > sub_180078330 @ 0x180078453\n// > cocos2d::CCKeyboardDispatcher::CCKeyboardDispatcher @ 0x1800ca386\n// > <???> @ 0x1801bb8a8\n// \n// This function is hookable on this platform (idp: pc, 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 11:21:40 +0000\n// \n\nvoid __fastcall sub_180045B90(__int64 a1, void *a2, __int64 a3)\n{\n  void *v3; // rax\n\n  v3 = a2;\n  if ( (unsigned __int64)(8 * a3) >= 0x1000 )\n  {\n    if ( (unsigned __int64)a2 - *((_QWORD *)a2 - 1) - 8 > 0x1F )\n      invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n    v3 = *((void **)a2 - 1);\n  }\n  j_j_free_0(v3);\n}", "assembly": "; \n; sub_180045B90 from 0x180045b90 to 0x180045be6 (86 bytes)\n; \n; 6 xrefs:\n; > sub_180001360 @ 0x1800013e9\n; > sub_1800452C0 @ 0x180045359\n; > sub_1800457A0 @ 0x180045815\n; > sub_180078330 @ 0x180078453\n; > cocos2d::CCKeyboardDispatcher::CCKeyboardDispatcher @ 0x1800ca386\n; > <???> @ 0x1801bb8a8\n; \n; This function is hookable on this platform (idp: pc, 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 11:21:40 +0000\n; \nsub     rsp, 38h                                                       ; +0x0, 0x180045b90\nmov     rax, rdx                                                       ; +0x4, 0x180045b94\nlea     rdx, ds:0[r8*8]                                                ; +0x7, 0x180045b97\ncmp     rdx, 1000h                                                     ; +0xf, 0x180045b9f\njb      short loc_180045BC0                                            ; +0x16, 0x180045ba6\nmov     rcx, [rax-8]                                                   ; +0x18, 0x180045ba8\nadd     rdx, 27h ; '''                                                 ; +0x1c, 0x180045bac\nsub     rax, rcx                                                       ; +0x20, 0x180045bb0\nsub     rax, 8                                                         ; +0x23, 0x180045bb3\ncmp     rax, 1Fh                                                       ; +0x27, 0x180045bb7\nja      short loc_180045BCC                                            ; +0x2b, 0x180045bbb\nmov     rax, rcx                                                       ; +0x2d, 0x180045bbd\nmov     rcx, rax; Block                                                ; +0x30, 0x180045bc0\nadd     rsp, 38h                                                       ; +0x33, 0x180045bc3\njmp     j_j_free_0                                                     ; +0x37, 0x180045bc7\nxor     r9d, r9d; LineNo                                               ; +0x3c, 0x180045bcc\nmov     [rsp+38h+Reserved], 0; Reserved                                ; +0x3f, 0x180045bcf\nxor     r8d, r8d; FileName                                             ; +0x48, 0x180045bd8\nxor     edx, edx; FunctionName                                         ; +0x4b, 0x180045bdb\nxor     ecx, ecx; Expression                                           ; +0x4d, 0x180045bdd\ncall    cs:_invoke_watson                                              ; +0x4f, 0x180045bdf\ndb 0CCh                                                                ; +0x55, 0x180045be5", "xrefs": ["sub_180001360 @ 0x1800013e9", "sub_1800452C0 @ 0x180045359", "sub_1800457A0 @ 0x180045815", "sub_180078330 @ 0x180078453", "cocos2d::CCKeyboardDispatcher::CCKeyboardDispatcher @ 0x1800ca386", "<???> @ 0x1801bb8a8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}