{"type": "func", "start": 3041886, "end": 3041908, "name": "CCMenuItemToggler::activeItem", "pseudocode": "// \n// CCMenuItemToggler::activeItem from 0x2e6a5e to 0x2e6a74 (22 bytes)\n// \n// 7 xrefs:\n// > CCMenuItemToggler::selected @ 0x2e6a7e\n// > CCMenuItemToggler::activate @ 0x2e6a98\n// > CCMenuItemToggler::unselected @ 0x2e6ab2\n// > CCMenuItemToggler::toggle @ 0x2e6afc\n// > SongInfoLayer::init @ 0x42e306\n// > SongInfoLayer::init @ 0x42e31e\n// > GameOptionsLayer::setupOptions @ 0x4b4fe0\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\nCCMenuItemSpriteExtra *CCMenuItemToggler::activeItem(CCMenuItemToggler *a1)\n{\n  if ( a1->m_toggled )\n    return a1->m_onButton;\n  else\n    return a1->m_offButton;\n}", "assembly": "; \n; CCMenuItemToggler::activeItem from 0x2e6a5e to 0x2e6a74 (22 bytes)\n; \n; 7 xrefs:\n; > CCMenuItemToggler::selected @ 0x2e6a7e\n; > CCMenuItemToggler::activate @ 0x2e6a98\n; > CCMenuItemToggler::unselected @ 0x2e6ab2\n; > CCMenuItemToggler::toggle @ 0x2e6afc\n; > SongInfoLayer::init @ 0x42e306\n; > SongInfoLayer::init @ 0x42e31e\n; > GameOptionsLayer::setupOptions @ 0x4b4fe0\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\nLDR.W           R3, [R0,#0x12C]                                        ; +0x0, 0x2e6a5e\nLDR.W           R2, [R0,#0x130]                                        ; +0x4, 0x2e6a62\nLDRB.W          R0, [R0,#0x134]                                        ; +0x8, 0x2e6a66\nCMP             R0, #0                                                 ; +0xc, 0x2e6a6a\nITE NE                                                                 ; +0xe, 0x2e6a6c\nMOVNE           R0, R2                                                 ; +0x10, 0x2e6a6e\nMOVEQ           R0, R3                                                 ; +0x12, 0x2e6a70\nBX              LR                                                     ; +0x14, 0x2e6a72", "xrefs": ["CCMenuItemToggler::selected @ 0x2e6a7e", "CCMenuItemToggler::activate @ 0x2e6a98", "CCMenuItemToggler::unselected @ 0x2e6ab2", "CCMenuItemToggler::toggle @ 0x2e6afc", "SongInfoLayer::init @ 0x42e306", "SongInfoLayer::init @ 0x42e31e", "GameOptionsLayer::setupOptions @ 0x4b4fe0"], "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"}