{"type": "func", "start": 4295357824, "end": 4295357896, "name": "MoreSearchLayer::audioNext", "pseudocode": "// \n// MoreSearchLayer::audioNext from 0x10005f580 to 0x10005f5c8 (72 bytes)\n// \n// 1 xrefs:\n// > MoreSearchLayer::init @ 0x10005e84c\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::audioNext(__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 != 22 )\n    return MoreSearchLayer::selectSong(a1, (unsigned int)(result + 1));\n  return result;\n}", "assembly": "; \n; MoreSearchLayer::audioNext from 0x10005f580 to 0x10005f5c8 (72 bytes)\n; \n; 1 xrefs:\n; > MoreSearchLayer::init @ 0x10005e84c\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, 0x10005f580\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10005f584\nADD             X29, SP, #0x10                                         ; +0x8, 0x10005f588\nMOV             X19, X0                                                ; +0xc, 0x10005f58c\nBL              GameLevelManager__sharedState                          ; +0x10, 0x10005f590\nADRL            X1, aSongFilter; \"song_filter\"                         ; +0x14, 0x10005f594\nBL              GameLevelManager__getIntForKey                         ; +0x1c, 0x10005f59c\nCMP             W0, #0x16                                              ; +0x20, 0x10005f5a0\nB.NE            loc_10005F5B4                                          ; +0x24, 0x10005f5a4\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x28, 0x10005f5a8\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x2c, 0x10005f5ac\nRET                                                                    ; +0x30, 0x10005f5b0\nADD             W1, W0, #1                                             ; +0x34, 0x10005f5b4\nMOV             X0, X19                                                ; +0x38, 0x10005f5b8\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x3c, 0x10005f5bc\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x40, 0x10005f5c0\nB               MoreSearchLayer__selectSong                            ; +0x44, 0x10005f5c4", "xrefs": ["MoreSearchLayer::init @ 0x10005e84c"], "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"}