{"type": "func", "start": 5369516128, "end": 5369516194, "name": "SongOptionsLayer::onSongPersistent", "pseudocode": "// \n// SongOptionsLayer::onSongPersistent from 0x1400c5060 to 0x1400c50a2 (66 bytes)\n// \n// 2 xrefs:\n// > SongOptionsLayer::init @ 0x1400c4a6c\n// > <???> @ 0x1406c8118\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 SongOptionsLayer::onSongPersistent(SongOptionsLayer *a1, cocos2d::CCObject *a2)\n{\n  bool v3; // bl\n\n  v3 = *(_BYTE *)(((__int64 (__fastcall *)(CustomSongDelegate *, cocos2d::CCObject *))a1->m_delegate->getLevelSettings)(\n                    a1->m_delegate,\n                    a2)\n                + 350) == 0;\n  a1->m_delegate->getLevelSettings(a1->m_delegate)->m_dontReset = v3;\n}", "assembly": "; \n; SongOptionsLayer::onSongPersistent from 0x1400c5060 to 0x1400c50a2 (66 bytes)\n; \n; 2 xrefs:\n; > SongOptionsLayer::init @ 0x1400c4a6c\n; > <???> @ 0x1406c8118\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     [rsp+arg_0], rbx                                               ; +0x0, 0x1400c5060\npush    rdi                                                            ; +0x5, 0x1400c5065\nsub     rsp, 20h                                                       ; +0x6, 0x1400c5066\nmov     rdi, rcx                                                       ; +0xa, 0x1400c506a\nmov     rcx, [rcx+278h]                                                ; +0xd, 0x1400c506d\nmov     rax, [rcx]                                                     ; +0x14, 0x1400c5074\ncall    qword ptr [rax+18h]                                            ; +0x17, 0x1400c5077\nmov     rcx, [rdi+278h]                                                ; +0x1a, 0x1400c507a\ncmp     byte ptr [rax+15Eh], 0                                         ; +0x21, 0x1400c5081\nmov     rax, [rcx]                                                     ; +0x28, 0x1400c5088\nsetz    bl                                                             ; +0x2b, 0x1400c508b\ncall    qword ptr [rax+18h]                                            ; +0x2e, 0x1400c508e\nmov     [rax+15Eh], bl                                                 ; +0x31, 0x1400c5091\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x37, 0x1400c5097\nadd     rsp, 20h                                                       ; +0x3c, 0x1400c509c\npop     rdi                                                            ; +0x40, 0x1400c50a0\nretn                                                                   ; +0x41, 0x1400c50a1", "xrefs": ["SongOptionsLayer::init @ 0x1400c4a6c", "<???> @ 0x1406c8118"], "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"}