{"type": "func", "start": 4296438144, "end": 4296438196, "name": "GameSettingsLayer::dropDownLayerWillClose", "pseudocode": "// \n// GameSettingsLayer::dropDownLayerWillClose from 0x100167180 to 0x1001671b4 (52 bytes)\n// \n// 2 xrefs:\n// > j_GameSettingsLayer::dropDownLayerWillClose @ 0x1001671b4\n// > <???> @ 0x1008e3488\n// \n// This function is hookable on this platform (idp: arm, 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 10:59:48 +0000\n// \n\n__int64 __fastcall GameSettingsLayer::dropDownLayerWillClose(__int64 a1)\n{\n  __int64 result; // x0\n  __int64 v2; // x0\n\n  result = GameManager::sharedState(a1);\n  if ( !*(_QWORD *)(result + 544) )\n  {\n    result = GameManager::sharedState(result);\n    if ( !*(_QWORD *)(result + 552) )\n    {\n      v2 = GameManager::sharedState(result);\n      return GameManager::fadeInMenuMusic(v2);\n    }\n  }\n  return result;\n}", "assembly": "; \n; GameSettingsLayer::dropDownLayerWillClose from 0x100167180 to 0x1001671b4 (52 bytes)\n; \n; 2 xrefs:\n; > j_GameSettingsLayer::dropDownLayerWillClose @ 0x1001671b4\n; > <???> @ 0x1008e3488\n; \n; This function is hookable on this platform (idp: arm, 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 10:59:48 +0000\n; \nSTP             X29, X30, [SP,#-0x10+var_s0]!                          ; +0x0, 0x100167180\nMOV             X29, SP                                                ; +0x4, 0x100167184\nBL              GameManager__sharedState                               ; +0x8, 0x100167188\nLDR             X8, [X0,#0x220]                                        ; +0xc, 0x10016718c\nCBNZ            X8, loc_1001671A0                                      ; +0x10, 0x100167190\nBL              GameManager__sharedState                               ; +0x14, 0x100167194\nLDR             X8, [X0,#0x228]                                        ; +0x18, 0x100167198\nCBZ             X8, loc_1001671A8                                      ; +0x1c, 0x10016719c\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x20, 0x1001671a0\nRET                                                                    ; +0x24, 0x1001671a4\nBL              GameManager__sharedState                               ; +0x28, 0x1001671a8\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x2c, 0x1001671ac\nB               GameManager__fadeInMenuMusic                           ; +0x30, 0x1001671b0", "xrefs": ["j_GameSettingsLayer::dropDownLayerWillClose @ 0x1001671b4", "<???> @ 0x1008e3488"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}