{"type": "func", "start": 6442968352, "end": 6442968405, "name": "sub_18007E520", "pseudocode": "// \n// sub_18007E520 from 0x18007e520 to 0x18007e555 (53 bytes)\n// \n// 2 xrefs:\n// > cocos2d::CCApplication::updateControllerKeys @ 0x180073f7f\n// > <???> @ 0x1801b4ef0\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_OWORD *__fastcall sub_18007E520(__int64 a1, _OWORD *a2)\n{\n  *(_OWORD *)a1 = 0;\n  XINPUT1_4_2(*(unsigned int *)(a1 + 16), a1);\n  *a2 = *(_OWORD *)a1;\n  return a2;\n}", "assembly": "; \n; sub_18007E520 from 0x18007e520 to 0x18007e555 (53 bytes)\n; \n; 2 xrefs:\n; > cocos2d::CCApplication::updateControllerKeys @ 0x180073f7f\n; > <???> @ 0x1801b4ef0\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, 0x18007e520\npush    rdi                                                            ; +0x5, 0x18007e525\nsub     rsp, 20h                                                       ; +0x6, 0x18007e526\nxorps   xmm0, xmm0                                                     ; +0xa, 0x18007e52a\nmov     rdi, rdx                                                       ; +0xd, 0x18007e52d\nmovups  xmmword ptr [rcx], xmm0                                        ; +0x10, 0x18007e530\nmov     rbx, rcx                                                       ; +0x13, 0x18007e533\nmov     rdx, rcx                                                       ; +0x16, 0x18007e536\nmov     ecx, [rcx+10h]                                                 ; +0x19, 0x18007e539\ncall    XINPUT1_4_2                                                    ; +0x1c, 0x18007e53c\nmovups  xmm0, xmmword ptr [rbx]                                        ; +0x21, 0x18007e541\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x24, 0x18007e544\nmov     rax, rdi                                                       ; +0x29, 0x18007e549\nmovups  xmmword ptr [rdi], xmm0                                        ; +0x2c, 0x18007e54c\nadd     rsp, 20h                                                       ; +0x2f, 0x18007e54f\npop     rdi                                                            ; +0x33, 0x18007e553\nretn                                                                   ; +0x34, 0x18007e554", "xrefs": ["cocos2d::CCApplication::updateControllerKeys @ 0x180073f7f", "<???> @ 0x1801b4ef0"], "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"}