{"type": "func", "start": 5371340320, "end": 5371340461, "name": "GameManager::prepareDPadSettings", "pseudocode": "// \n// GameManager::prepareDPadSettings from 0x140282620 to 0x1402826ad (141 bytes)\n// \n// 6 xrefs:\n// > GameManager::loadDPadLayout @ 0x1402820ab\n// > GameManager::dataLoaded @ 0x140283ccf\n// > TouchControlEditLayer::onReset @ 0x1404554c4\n// > TouchControlEditLayer::onPaste @ 0x1404561da\n// > UILayer::init @ 0x140670070\n// > <???> @ 0x14091d0c0\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:29:00 +0000\n// \n\nvoid __fastcall GameManager::prepareDPadSettings(__int64 a1)\n{\n  __int64 v2; // rcx\n\n  v2 = a1 + 1308;\n  if ( *(float *)(v2 + 12) <= 0.0 )\n    UIButtonConfig::reset(v2);\n  if ( *(float *)(a1 + 1360) <= 0.0 )\n    UIButtonConfig::reset(a1 + 1348);\n  if ( *(float *)(a1 + 1400) <= 0.0 )\n    UIButtonConfig::reset(a1 + 1388);\n  if ( *(float *)(a1 + 1440) <= 0.0 )\n    UIButtonConfig::resetOneBtn(a1 + 1428);\n  if ( *(float *)(a1 + 1480) <= 0.0 )\n    UIButtonConfig::resetOneBtn(a1 + 1468);\n  *(_BYTE *)(a1 + 1464) = 1;\n  *(_WORD *)(a1 + 1504) = 257;\n  *(_BYTE *)(a1 + 1425) = 1;\n}", "assembly": "; \n; GameManager::prepareDPadSettings from 0x140282620 to 0x1402826ad (141 bytes)\n; \n; 6 xrefs:\n; > GameManager::loadDPadLayout @ 0x1402820ab\n; > GameManager::dataLoaded @ 0x140283ccf\n; > TouchControlEditLayer::onReset @ 0x1404554c4\n; > TouchControlEditLayer::onPaste @ 0x1404561da\n; > UILayer::init @ 0x140670070\n; > <???> @ 0x14091d0c0\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:29:00 +0000\n; \npush    rbx                                                            ; +0x0, 0x140282620\nsub     rsp, 30h                                                       ; +0x2, 0x140282622\nmov     rbx, rcx                                                       ; +0x6, 0x140282626\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0x9, 0x140282629\nadd     rcx, 51Ch                                                      ; +0xe, 0x14028262e\nxorps   xmm6, xmm6                                                     ; +0x15, 0x140282635\ncomiss  xmm6, dword ptr [rcx+0Ch]                                      ; +0x18, 0x140282638\njb      short loc_140282643                                            ; +0x1c, 0x14028263c\ncall    UIButtonConfig__reset                                          ; +0x1e, 0x14028263e\nlea     rcx, [rbx+544h]                                                ; +0x23, 0x140282643\ncomiss  xmm6, dword ptr [rcx+0Ch]                                      ; +0x2a, 0x14028264a\njb      short loc_140282655                                            ; +0x2e, 0x14028264e\ncall    UIButtonConfig__reset                                          ; +0x30, 0x140282650\nlea     rcx, [rbx+56Ch]                                                ; +0x35, 0x140282655\ncomiss  xmm6, dword ptr [rcx+0Ch]                                      ; +0x3c, 0x14028265c\njb      short loc_140282667                                            ; +0x40, 0x140282660\ncall    UIButtonConfig__reset                                          ; +0x42, 0x140282662\nlea     rcx, [rbx+594h]                                                ; +0x47, 0x140282667\ncomiss  xmm6, dword ptr [rcx+0Ch]                                      ; +0x4e, 0x14028266e\njb      short loc_140282679                                            ; +0x52, 0x140282672\ncall    UIButtonConfig__resetOneBtn                                    ; +0x54, 0x140282674\nlea     rcx, [rbx+5BCh]                                                ; +0x59, 0x140282679\ncomiss  xmm6, dword ptr [rcx+0Ch]                                      ; +0x60, 0x140282680\njb      short loc_14028268B                                            ; +0x64, 0x140282684\ncall    UIButtonConfig__resetOneBtn                                    ; +0x66, 0x140282686\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x6b, 0x14028268b\nmov     byte ptr [rbx+5B8h], 1                                         ; +0x70, 0x140282690\nmov     word ptr [rbx+5E0h], 101h                                      ; +0x77, 0x140282697\nmov     byte ptr [rbx+591h], 1                                         ; +0x80, 0x1402826a0\nadd     rsp, 30h                                                       ; +0x87, 0x1402826a7\npop     rbx                                                            ; +0x8b, 0x1402826ab\nretn                                                                   ; +0x8c, 0x1402826ac", "xrefs": ["GameManager::loadDPadLayout @ 0x1402820ab", "GameManager::dataLoaded @ 0x140283ccf", "TouchControlEditLayer::onReset @ 0x1404554c4", "TouchControlEditLayer::onPaste @ 0x1404561da", "UILayer::init @ 0x140670070", "<???> @ 0x14091d0c0"], "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"}