{"type": "func", "start": 4298224500, "end": 4298224576, "name": "GameManager::resetDPadSettings", "pseudocode": "// \n// GameManager::resetDPadSettings from 0x10031b374 to 0x10031b3c0 (76 bytes)\n// \n// 2 xrefs:\n// > UIOptionsLayer::onReset @ 0x1002e3dc8\n// > GameManager::firstLoad @ 0x10031c63c\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\nvoid __fastcall GameManager::resetDPadSettings(GameManager *a1, bool a2)\n{\n  if ( a2 )\n  {\n    UIButtonConfig::reset(&a1->m_dpad2);\n    UIButtonConfig::reset(&a1->m_dpad3);\n    UIButtonConfig::resetOneBtn(&a1->m_dpad4);\n    UIButtonConfig::resetOneBtn(&a1->m_dpad5);\n  }\n  else\n  {\n    UIButtonConfig::reset(&a1->m_dpad1);\n  }\n}", "assembly": "; \n; GameManager::resetDPadSettings from 0x10031b374 to 0x10031b3c0 (76 bytes)\n; \n; 2 xrefs:\n; > UIOptionsLayer::onReset @ 0x1002e3dc8\n; > GameManager::firstLoad @ 0x10031c63c\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\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x10031b374\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10031b378\nADD             X29, SP, #0x10                                         ; +0x8, 0x10031b37c\nMOV             X19, X0                                                ; +0xc, 0x10031b380\nTBZ             W1, #0, loc_10031B3B0                                  ; +0x10, 0x10031b384\nADD             X0, X19, #0x4E4                                        ; +0x14, 0x10031b388\nBL              UIButtonConfig__reset                                  ; +0x18, 0x10031b38c\nADD             X0, X19, #0x50C                                        ; +0x1c, 0x10031b390\nBL              UIButtonConfig__reset                                  ; +0x20, 0x10031b394\nADD             X0, X19, #0x534                                        ; +0x24, 0x10031b398\nBL              UIButtonConfig__resetOneBtn                            ; +0x28, 0x10031b39c\nADD             X0, X19, #0x55C                                        ; +0x2c, 0x10031b3a0\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x30, 0x10031b3a4\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x34, 0x10031b3a8\nB               UIButtonConfig__resetOneBtn                            ; +0x38, 0x10031b3ac\nADD             X0, X19, #0x4BC                                        ; +0x3c, 0x10031b3b0\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x40, 0x10031b3b4\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x44, 0x10031b3b8\nB               UIButtonConfig__reset                                  ; +0x48, 0x10031b3bc", "xrefs": ["UIOptionsLayer::onReset @ 0x1002e3dc8", "GameManager::firstLoad @ 0x10031c63c"], "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"}