{"type": "func", "start": 4295357756, "end": 4295357824, "name": "MoreSearchLayer::audioPrevious", "pseudocode": "// \n// MoreSearchLayer::audioPrevious from 0x10005f53c to 0x10005f580 (68 bytes)\n// \n// 1 xrefs:\n// > MoreSearchLayer::init @ 0x10005e794\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:57:49 +0000\n// \n\n__int64 __fastcall MoreSearchLayer::audioPrevious(__int64 a1)\n{\n  __int64 v2; // x0\n  __int64 result; // x0\n\n  v2 = GameLevelManager::sharedState(a1);\n  result = GameLevelManager::getIntForKey(v2, \"song_filter\");\n  if ( (_DWORD)result != 1 )\n    return MoreSearchLayer::selectSong(a1, (unsigned int)(result - 1));\n  return result;\n}", "assembly": "; \n; MoreSearchLayer::audioPrevious from 0x10005f53c to 0x10005f580 (68 bytes)\n; \n; 1 xrefs:\n; > MoreSearchLayer::init @ 0x10005e794\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:57:49 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x10005f53c\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10005f540\nADD             X29, SP, #0x10                                         ; +0x8, 0x10005f544\nMOV             X19, X0                                                ; +0xc, 0x10005f548\nBL              GameLevelManager__sharedState                          ; +0x10, 0x10005f54c\nADRL            X1, aSongFilter; \"song_filter\"                         ; +0x14, 0x10005f550\nBL              GameLevelManager__getIntForKey                         ; +0x1c, 0x10005f558\nSUBS            W1, W0, #1                                             ; +0x20, 0x10005f55c\nB.NE            loc_10005F570                                          ; +0x24, 0x10005f560\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x28, 0x10005f564\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x2c, 0x10005f568\nRET                                                                    ; +0x30, 0x10005f56c\nMOV             X0, X19                                                ; +0x34, 0x10005f570\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x38, 0x10005f574\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x3c, 0x10005f578\nB               MoreSearchLayer__selectSong                            ; +0x40, 0x10005f57c", "xrefs": ["MoreSearchLayer::init @ 0x10005e794"], "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"}