{"type": "func", "start": 5369526224, "end": 5369526273, "name": "SongSelectNode::audioNext", "pseudocode": "// \n// SongSelectNode::audioNext from 0x1400c77d0 to 0x1400c7801 (49 bytes)\n// \n// 1 xrefs:\n// > SongSelectNode::init @ 0x1400c7132\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 SongSelectNode::audioNext(SongSelectNode *a1, cocos2d::CCObject *a2)\n{\n  int m_selectedSongID; // eax\n  int v3; // eax\n\n  m_selectedSongID = a1->m_selectedSongID;\n  if ( m_selectedSongID != 21 )\n  {\n    v3 = m_selectedSongID + 1;\n    a1->m_songChanged = 1;\n    if ( v3 > 21 )\n      v3 = 21;\n    if ( v3 < 0 )\n      v3 = 0;\n    a1->m_selectedSongID = v3;\n    SongSelectNode::updateAudioLabel(a1);\n  }\n}", "assembly": "; \n; SongSelectNode::audioNext from 0x1400c77d0 to 0x1400c7801 (49 bytes)\n; \n; 1 xrefs:\n; > SongSelectNode::init @ 0x1400c7132\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\nmov     eax, [rcx+158h]                                                ; +0x0, 0x1400c77d0\ncmp     eax, 15h                                                       ; +0x6, 0x1400c77d6\njz      short locret_1400C7800                                         ; +0x9, 0x1400c77d9\ninc     eax                                                            ; +0xb, 0x1400c77db\nmov     byte ptr [rcx+15Dh], 1                                         ; +0xd, 0x1400c77dd\nmov     edx, 15h                                                       ; +0x14, 0x1400c77e4\ncmp     eax, edx                                                       ; +0x19, 0x1400c77e9\ncmovg   eax, edx                                                       ; +0x1b, 0x1400c77eb\nxor     edx, edx                                                       ; +0x1e, 0x1400c77ee\ntest    eax, eax                                                       ; +0x20, 0x1400c77f0\ncmovs   eax, edx                                                       ; +0x22, 0x1400c77f2\nmov     [rcx+158h], eax                                                ; +0x25, 0x1400c77f5\njmp     SongSelectNode__updateAudioLabel                               ; +0x2b, 0x1400c77fb\nretn                                                                   ; +0x30, 0x1400c7800", "xrefs": ["SongSelectNode::init @ 0x1400c7132"], "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"}