{"type": "func", "start": 6864912, "end": 6865032, "name": "ButtonSprite::setColor", "pseudocode": "// \n// ButtonSprite::setColor from 0x68c010 to 0x68c088 (120 bytes)\n// \n// 21 xrefs:\n// > EditorUI::toggleSpecialEditButtons @ 0x7c7f94\n// > EditorUI::updateButtons @ 0x7c8188\n// > EditorUI::updateButtons @ 0x7c86dc\n// > RateLevelLayer::selectRating @ 0x8c3414\n// > RateLevelLayer::selectRating @ 0x8c3470\n// > GJRateLevelLayer::selectRating @ 0x950844\n// > GJRateLevelLayer::selectRating @ 0x9508dc\n// > NumberInputLayer::updateNumberState @ 0x9567c0\n// > RateStarsLayer::selectRating @ 0x957444\n// > RateStarsLayer::selectRating @ 0x9574dc\n// > RateDemonLayer::selectRating @ 0xa83fd0\n// > RateDemonLayer::selectRating @ 0xa83ffc\n// > EditorUI::updateDeleteButtons @ 0xbdf6f4\n// > EditorUI::updateDeleteButtons @ 0xbdf754\n// > EditorUI::updateDeleteButtons @ 0xbdf7b8\n// > EditorUI::updateEditButtonColor @ 0xc01e60\n// > ThreadViewPopup::setSendPending @ 0xc65cc4\n// > NewThreadPopup::setSendPending @ 0xc67fd0\n// > RateStarsModLayer::selectRating @ 0xcfce34\n// > RateStarsModLayer::selectRating @ 0xcfce80\n// > <???> @ 0x8b228\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 12:50:33 +0000\n// \n\n__int64 __fastcall ButtonSprite::setColor(_QWORD *a1, __int64 a2)\n{\n  __int64 v3; // x0\n  __int64 v4; // x0\n  __int64 result; // x0\n  __int64 v6; // [xsp+28h] [xbp+28h] BYREF\n\n  v6 = a2;\n  v3 = a1[78];\n  if ( v3 )\n    (*(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v3 + 1072LL))(v3, &v6);\n  v4 = a1[79];\n  if ( v4 )\n    (*(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v4 + 960LL))(v4, &v6);\n  result = a1[81];\n  if ( result )\n    return (*(__int64 (__fastcall **)(__int64, __int64 *))(*(_QWORD *)result + 960LL))(result, &v6);\n  result = a1[80];\n  if ( result )\n    return (*(__int64 (__fastcall **)(__int64, __int64 *))(*(_QWORD *)result + 960LL))(result, &v6);\n  return result;\n}", "assembly": "; \n; ButtonSprite::setColor from 0x68c010 to 0x68c088 (120 bytes)\n; \n; 21 xrefs:\n; > EditorUI::toggleSpecialEditButtons @ 0x7c7f94\n; > EditorUI::updateButtons @ 0x7c8188\n; > EditorUI::updateButtons @ 0x7c86dc\n; > RateLevelLayer::selectRating @ 0x8c3414\n; > RateLevelLayer::selectRating @ 0x8c3470\n; > GJRateLevelLayer::selectRating @ 0x950844\n; > GJRateLevelLayer::selectRating @ 0x9508dc\n; > NumberInputLayer::updateNumberState @ 0x9567c0\n; > RateStarsLayer::selectRating @ 0x957444\n; > RateStarsLayer::selectRating @ 0x9574dc\n; > RateDemonLayer::selectRating @ 0xa83fd0\n; > RateDemonLayer::selectRating @ 0xa83ffc\n; > EditorUI::updateDeleteButtons @ 0xbdf6f4\n; > EditorUI::updateDeleteButtons @ 0xbdf754\n; > EditorUI::updateDeleteButtons @ 0xbdf7b8\n; > EditorUI::updateEditButtonColor @ 0xc01e60\n; > ThreadViewPopup::setSendPending @ 0xc65cc4\n; > NewThreadPopup::setSendPending @ 0xc67fd0\n; > RateStarsModLayer::selectRating @ 0xcfce34\n; > RateStarsModLayer::selectRating @ 0xcfce80\n; > <???> @ 0x8b228\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 12:50:33 +0000\n; \nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0x68c010\nMOV             X29, SP                                                ; +0x4, 0x68c014\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x8, 0x68c018\nMOV             X19, X0                                                ; +0xc, 0x68c01c\nADD             X20, X29, #0x30+var_8                                  ; +0x10, 0x68c020\nSTR             X1, [X29,#0x30+var_8]                                  ; +0x14, 0x68c024\nLDR             X0, [X0,#0x270]                                        ; +0x18, 0x68c028\nCBZ             X0, loc_68C040                                         ; +0x1c, 0x68c02c\nLDR             X2, [X0]                                               ; +0x20, 0x68c030\nMOV             X1, X20                                                ; +0x24, 0x68c034\nLDR             X2, [X2,#0x430]                                        ; +0x28, 0x68c038\nBLR             X2                                                     ; +0x2c, 0x68c03c\nLDR             X0, [X19,#0x278]                                       ; +0x30, 0x68c040\nCBZ             X0, loc_68C058                                         ; +0x34, 0x68c044\nLDR             X2, [X0]                                               ; +0x38, 0x68c048\nMOV             X1, X20                                                ; +0x3c, 0x68c04c\nLDR             X2, [X2,#0x3C0]                                        ; +0x40, 0x68c050\nBLR             X2                                                     ; +0x44, 0x68c054\nLDR             X0, [X19,#0x288]                                       ; +0x48, 0x68c058\nCBZ             X0, loc_68C07C                                         ; +0x4c, 0x68c05c\nLDR             X2, [X0]                                               ; +0x50, 0x68c060\nMOV             X1, X20                                                ; +0x54, 0x68c064\nLDR             X2, [X2,#0x3C0]                                        ; +0x58, 0x68c068\nBLR             X2                                                     ; +0x5c, 0x68c06c\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x60, 0x68c070\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x64, 0x68c074\nRET                                                                    ; +0x68, 0x68c078\nLDR             X0, [X19,#0x280]                                       ; +0x6c, 0x68c07c\nCBNZ            X0, loc_68C060                                         ; +0x70, 0x68c080\nB               loc_68C070                                             ; +0x74, 0x68c084", "xrefs": ["EditorUI::toggleSpecialEditButtons @ 0x7c7f94", "EditorUI::updateButtons @ 0x7c8188", "EditorUI::updateButtons @ 0x7c86dc", "RateLevelLayer::selectRating @ 0x8c3414", "RateLevelLayer::selectRating @ 0x8c3470", "GJRateLevelLayer::selectRating @ 0x950844", "GJRateLevelLayer::selectRating @ 0x9508dc", "NumberInputLayer::updateNumberState @ 0x9567c0", "RateStarsLayer::selectRating @ 0x957444", "RateStarsLayer::selectRating @ 0x9574dc", "RateDemonLayer::selectRating @ 0xa83fd0", "RateDemonLayer::selectRating @ 0xa83ffc", "EditorUI::updateDeleteButtons @ 0xbdf6f4", "EditorUI::updateDeleteButtons @ 0xbdf754", "EditorUI::updateDeleteButtons @ 0xbdf7b8", "EditorUI::updateEditButtonColor @ 0xc01e60", "ThreadViewPopup::setSendPending @ 0xc65cc4", "NewThreadPopup::setSendPending @ 0xc67fd0", "RateStarsModLayer::selectRating @ 0xcfce34", "RateStarsModLayer::selectRating @ 0xcfce80", "<???> @ 0x8b228"], "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"}