{"type": "func", "start": 3959866, "end": 3959920, "name": "CCMenuItemToggler::setSpriteColor", "pseudocode": "// \n// CCMenuItemToggler::setSpriteColor from 0x3c6c3a to 0x3c6c70 (54 bytes)\n// \n// 13 xrefs:\n// > GameToolbox::NotifyToggleSet::setState @ 0x3cd21c\n// > GameToolbox::NotifyToggleSet::setState @ 0x3cd224\n// > ShareLevelSettingsLayer::updateSettingsState @ 0x4a2954\n// > VideoOptionsLayer::toggleResolution @ 0x52d122\n// > VideoOptionsLayer::toggleResolution @ 0x52d16e\n// > ParentalOptionsLayer::applyToggleLock @ 0x52d764\n// > SongInfoLayer::init @ 0x53ba72\n// > SongInfoLayer::init @ 0x53ba7a\n// > GameOptionsLayer::setupOptions @ 0x5e22d0\n// > GJAccountSettingsLayer::init @ 0x5e4294\n// > ShareListLayer::updateUnlistedF @ 0x6d4fd8\n// > GameSettingsLayer::addToggle @ 0x710ee2\n// > sub_788CEC @ 0x788d14\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:46:34 +0000\n// \n\nint __fastcall CCMenuItemToggler::setSpriteColor(int a1, int a2)\n{\n  int v4; // r0\n  int v5; // r0\n\n  v4 = (*(int (__fastcall **)(_DWORD))(**(_DWORD **)(a1 + 300) + 536))(*(_DWORD *)(a1 + 300));\n  (*(void (__fastcall **)(int, int))(*(_DWORD *)v4 + 480))(v4, a2);\n  v5 = (*(int (__fastcall **)(_DWORD))(**(_DWORD **)(a1 + 304) + 536))(*(_DWORD *)(a1 + 304));\n  return (*(int (__fastcall **)(int, int))(*(_DWORD *)v5 + 480))(v5, a2);\n}", "assembly": "; \n; CCMenuItemToggler::setSpriteColor from 0x3c6c3a to 0x3c6c70 (54 bytes)\n; \n; 13 xrefs:\n; > GameToolbox::NotifyToggleSet::setState @ 0x3cd21c\n; > GameToolbox::NotifyToggleSet::setState @ 0x3cd224\n; > ShareLevelSettingsLayer::updateSettingsState @ 0x4a2954\n; > VideoOptionsLayer::toggleResolution @ 0x52d122\n; > VideoOptionsLayer::toggleResolution @ 0x52d16e\n; > ParentalOptionsLayer::applyToggleLock @ 0x52d764\n; > SongInfoLayer::init @ 0x53ba72\n; > SongInfoLayer::init @ 0x53ba7a\n; > GameOptionsLayer::setupOptions @ 0x5e22d0\n; > GJAccountSettingsLayer::init @ 0x5e4294\n; > ShareListLayer::updateUnlistedF @ 0x6d4fd8\n; > GameSettingsLayer::addToggle @ 0x710ee2\n; > sub_788CEC @ 0x788d14\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:46:34 +0000\n; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0x3c6c3a\nMOV             R5, R0                                                 ; +0x2, 0x3c6c3c\nLDR.W           R0, [R0,#0x12C]                                        ; +0x4, 0x3c6c3e\nMOV             R4, R1                                                 ; +0x8, 0x3c6c42\nLDR             R3, [R0]                                               ; +0xa, 0x3c6c44\nLDR.W           R3, [R3,#0x218]                                        ; +0xc, 0x3c6c46\nBLX             R3                                                     ; +0x10, 0x3c6c4a\nMOV             R1, R4                                                 ; +0x12, 0x3c6c4c\nLDR             R3, [R0]                                               ; +0x14, 0x3c6c4e\nLDR.W           R3, [R3,#0x1E0]                                        ; +0x16, 0x3c6c50\nBLX             R3                                                     ; +0x1a, 0x3c6c54\nLDR.W           R0, [R5,#0x130]                                        ; +0x1c, 0x3c6c56\nLDR             R3, [R0]                                               ; +0x20, 0x3c6c5a\nLDR.W           R3, [R3,#0x218]                                        ; +0x22, 0x3c6c5c\nBLX             R3                                                     ; +0x26, 0x3c6c60\nMOV             R1, R4                                                 ; +0x28, 0x3c6c62\nPOP.W           {R4-R6,LR}                                             ; +0x2a, 0x3c6c64\nLDR             R3, [R0]                                               ; +0x2e, 0x3c6c68\nLDR.W           R3, [R3,#0x1E0]                                        ; +0x30, 0x3c6c6a\nBX              R3                                                     ; +0x34, 0x3c6c6e", "xrefs": ["GameToolbox::NotifyToggleSet::setState @ 0x3cd21c", "GameToolbox::NotifyToggleSet::setState @ 0x3cd224", "ShareLevelSettingsLayer::updateSettingsState @ 0x4a2954", "VideoOptionsLayer::toggleResolution @ 0x52d122", "VideoOptionsLayer::toggleResolution @ 0x52d16e", "ParentalOptionsLayer::applyToggleLock @ 0x52d764", "SongInfoLayer::init @ 0x53ba72", "SongInfoLayer::init @ 0x53ba7a", "GameOptionsLayer::setupOptions @ 0x5e22d0", "GJAccountSettingsLayer::init @ 0x5e4294", "ShareListLayer::updateUnlistedF @ 0x6d4fd8", "GameSettingsLayer::addToggle @ 0x710ee2", "sub_788CEC @ 0x788d14"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}