{"type": "func", "start": 4301643680, "end": 4301644883, "name": "CharacterColorPage::updateColorMode", "pseudocode": "// \n// CharacterColorPage::updateColorMode from 0x10065dfa0 to 0x10065e453 (1203 bytes)\n// \n// 2 xrefs:\n// > CharacterColorPage::init @ 0x10065d703\n// > CharacterColorPage::onMode @ 0x10065d8b2\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 __fastcall CharacterColorPage::updateColorMode(CharacterColorPage *a1, int a2)\n{\n  CharacterColorPage *v2; // r15\n  GameManager *v3; // rax\n  GameManager *v4; // rax\n  GameManager *v5; // rax\n  cocos2d::CCDictionary *m_colorButtons; // rcx\n  cocos2d::CCDictElement *m_pElements; // rdx\n  cocos2d::CCObject *m_pObject; // r13\n  __int64 v9; // rax\n  int v10; // r12d\n  cocos2d::CCLayer *m_mainLayer; // r15\n  const cocos2d::CCPoint *m_buttonMenu; // r14\n  __int64 v13; // rax\n  const cocos2d::CCPoint *v14; // rsi\n  __int64 v15; // rax\n  GameManager *v16; // rax\n  bool isColorUnlocked; // r14\n  __int64 v18; // r13\n  GameStatsManager *v19; // rax\n  __int64 v20; // rax\n  __int64 v21; // rax\n  __int64 v22; // r14\n  __int64 v23; // rax\n  CharacterColorPage *v24; // rcx\n  ButtonSprite *v25; // r15\n  const char *v26; // r12\n  unsigned int v27; // r13d\n  __int64 v28; // rax\n  CharacterColorPage *v29; // rbx\n  unsigned int v30; // r12d\n  __int64 v31; // r14\n  ButtonSprite *v32; // r15\n  const char *v33; // r13\n  __int64 v34; // rax\n  CharacterColorPage *v35; // rbx\n  __int64 v36; // r14\n  ButtonSprite *v37; // r15\n  const char *v38; // r12\n  unsigned int v39; // r13d\n  __int64 v40; // rax\n  CharacterColorPage *v41; // rbx\n  _BOOL4 v42; // r14d\n  cocos2d::CCDictElement *next; // [rsp+8h] [rbp-58h]\n  int v44; // [rsp+14h] [rbp-4Ch]\n  int v45; // [rsp+18h] [rbp-48h]\n  int v46; // [rsp+1Ch] [rbp-44h]\n  __int16 v47; // [rsp+20h] [rbp-40h] BYREF\n  char v48; // [rsp+22h] [rbp-3Eh]\n  CharacterColorPage *v49; // [rsp+28h] [rbp-38h]\n  _WORD v50[24]; // [rsp+30h] [rbp-30h] BYREF\n  double v51; // 0:xmm0_8.8\n\n  v2 = a1;\n  a1->m_colorMode = a2;\n  v3 = GameManager::sharedState();\n  v44 = v3->m_playerColor.random - v3->m_playerColor.seed;\n  v4 = GameManager::sharedState();\n  v45 = v4->m_playerColor2.random - v4->m_playerColor2.seed;\n  v5 = GameManager::sharedState();\n  m_colorButtons = a1->m_colorButtons;\n  v49 = a1;\n  if ( m_colorButtons )\n  {\n    m_pElements = m_colorButtons->m_pElements;\n    if ( m_pElements )\n    {\n      v46 = v5->m_playerGlowColor.random - v5->m_playerGlowColor.seed;\n      do\n      {\n        m_pObject = m_pElements->m_pObject;\n        next = (cocos2d::CCDictElement *)m_pElements->hh.next;\n        v9 = ((__int64 (__fastcall *)(cocos2d::CCObject *))m_pObject->__vftable[6].~CCObject_0)(m_pObject);\n        v10 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v9 + 64LL))(v9);\n        m_mainLayer = v49->m_mainLayer;\n        m_buttonMenu = (const cocos2d::CCPoint *)v49->m_buttonMenu;\n        v13 = ((__int64 (__fastcall *)(cocos2d::CCObject *))m_pObject->__vftable[6].~CCObject_0)(m_pObject);\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)v13 + 192LL))(v13);\n        cocos2d::CCNode::convertToWorldSpace((cocos2d::CCNode *)&v47, m_buttonMenu);\n        v14 = (const cocos2d::CCPoint *)m_mainLayer;\n        v2 = v49;\n        *(cocos2d::CCPoint *)&v51 = cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v50, v14);\n        if ( v10 == v44 )\n        {\n          v20 = sub_1007200C0(v2->m_cursors, 0);\n          (*(void (__fastcall **)(__int64, _WORD *, double))(*(_QWORD *)v20 + 184LL))(v20, v50, v51);\n          if ( v10 != v45 )\n          {\nLABEL_8:\n            if ( v10 != v46 )\n              goto LABEL_10;\nLABEL_9:\n            v15 = sub_1007200C0(v2->m_cursors, 2);\n            (*(void (__fastcall **)(__int64, _WORD *, double))(*(_QWORD *)v15 + 184LL))(v15, v50, v51);\n            goto LABEL_10;\n          }\n        }\n        else if ( v10 != v45 )\n        {\n          goto LABEL_8;\n        }\n        v21 = sub_1007200C0(v2->m_cursors, 1);\n        (*(void (__fastcall **)(__int64, _WORD *, double))(*(_QWORD *)v21 + 184LL))(v21, v50, v51);\n        if ( v10 == v46 )\n          goto LABEL_9;\nLABEL_10:\n        v16 = GameManager::sharedState();\n        isColorUnlocked = GameManager::isColorUnlocked(\n                            v16,\n                            v10,\n                            (UnlockType)((((unsigned int)v2->m_colorMode | 0x300000000uLL) - 1) >> 32));\n        v18 = ((__int64 (__fastcall *)(cocos2d::CCObject *, __int64, double))m_pObject->__vftable[5].getTag)(\n                m_pObject,\n                100,\n                v51);\n        (*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v18 + 328LL))(v18, !isColorUnlocked);\n        if ( isColorUnlocked\n          || (v19 = GameStatsManager::sharedState(),\n              GameStatsManager::getItemUnlockState(\n                v19,\n                v10,\n                (UnlockType)((((unsigned int)v2->m_colorMode | 0x300000000uLL) - 1) >> 32))) )\n        {\n          v48 = -1;\n          v47 = -1;\n        }\n        else\n        {\n          v48 = 0;\n          v47 = -256;\n        }\n        (*(void (__fastcall **)(__int64, __int16 *))(*(_QWORD *)v18 + 944LL))(v18, &v47);\n        m_pElements = next;\n      }\n      while ( next );\n    }\n  }\n  v22 = sub_1007200C0(v2->m_cursors, 0);\n  v23 = sub_1007200C0(v2->m_modeButtons, 0);\n  v24 = v2;\n  v25 = (ButtonSprite *)v23;\n  if ( v24->m_colorMode )\n  {\n    memset(v50, 50, 3);\n    (*(void (__fastcall **)(__int64, _WORD *))(*(_QWORD *)v22 + 944LL))(v22, v50);\n    v26 = \"GJ_button_04.png\";\n    v27 = 1;\n  }\n  else\n  {\n    LOBYTE(v50[1]) = -1;\n    v50[0] = -1;\n    (*(void (__fastcall **)(__int64, _WORD *))(*(_QWORD *)v22 + 944LL))(v22, v50);\n    v26 = \"GJ_button_01.png\";\n    v27 = 11;\n  }\n  v28 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v22 + 496LL))(v22);\n  (*(void (__fastcall **)(__int64, __int64, _QWORD))(*(_QWORD *)v28 + 576LL))(v28, v22, v27);\n  ButtonSprite::updateBGImage(v25, v26);\n  v29 = v49;\n  v30 = 1;\n  v31 = sub_1007200C0(v49->m_cursors, 1);\n  v32 = (ButtonSprite *)sub_1007200C0(v29->m_modeButtons, 1);\n  if ( v29->m_colorMode == 1 )\n  {\n    LOBYTE(v50[1]) = -1;\n    v50[0] = -1;\n    (*(void (__fastcall **)(__int64, _WORD *))(*(_QWORD *)v31 + 944LL))(v31, v50);\n    v33 = \"GJ_button_01.png\";\n    v30 = 11;\n  }\n  else\n  {\n    memset(v50, 50, 3);\n    (*(void (__fastcall **)(__int64, _WORD *))(*(_QWORD *)v31 + 944LL))(v31, v50);\n    v33 = \"GJ_button_04.png\";\n  }\n  v34 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v31 + 496LL))(v31);\n  (*(void (__fastcall **)(__int64, __int64, _QWORD))(*(_QWORD *)v34 + 576LL))(v34, v31, v30);\n  ButtonSprite::updateBGImage(v32, v33);\n  v35 = v49;\n  v36 = sub_1007200C0(v49->m_cursors, 2);\n  v37 = (ButtonSprite *)sub_1007200C0(v35->m_modeButtons, 2);\n  if ( v35->m_colorMode == 2 )\n  {\n    LOBYTE(v50[1]) = -1;\n    v50[0] = -1;\n    (*(void (__fastcall **)(__int64, _WORD *))(*(_QWORD *)v36 + 944LL))(v36, v50);\n    v38 = \"GJ_button_01.png\";\n    v39 = 11;\n  }\n  else\n  {\n    memset(v50, 50, 3);\n    (*(void (__fastcall **)(__int64, _WORD *))(*(_QWORD *)v36 + 944LL))(v36, v50);\n    v38 = \"GJ_button_04.png\";\n    v39 = 1;\n  }\n  v40 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v36 + 496LL))(v36);\n  (*(void (__fastcall **)(__int64, __int64, _QWORD))(*(_QWORD *)v40 + 576LL))(v40, v36, v39);\n  ButtonSprite::updateBGImage(v37, v38);\n  v41 = v49;\n  v42 = v49->m_colorMode == 2;\n  ((void (__fastcall *)(CCMenuItemToggler *, bool))v49->m_glowToggler->setEnabled)(\n    v49->m_glowToggler,\n    v49->m_colorMode == 2);\n  ((void (__fastcall *)(CCMenuItemToggler *, _BOOL4))v41->m_glowToggler->setVisible)(v41->m_glowToggler, v42);\n  ((void (__fastcall *)(cocos2d::CCLabelBMFont *, _BOOL4))v41->m_glowLabel->setVisible)(v41->m_glowLabel, v42);\n}", "assembly": "; \n; CharacterColorPage::updateColorMode from 0x10065dfa0 to 0x10065e453 (1203 bytes)\n; \n; 2 xrefs:\n; > CharacterColorPage::init @ 0x10065d703\n; > CharacterColorPage::onMode @ 0x10065d8b2\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\npush    rbp                                                            ; +0x0, 0x10065dfa0\nmov     rbp, rsp                                                       ; +0x1, 0x10065dfa1\npush    r15                                                            ; +0x4, 0x10065dfa4\npush    r14                                                            ; +0x6, 0x10065dfa6\npush    r13                                                            ; +0x8, 0x10065dfa8\npush    r12                                                            ; +0xa, 0x10065dfaa\npush    rbx                                                            ; +0xc, 0x10065dfac\nsub     rsp, 38h                                                       ; +0xd, 0x10065dfad\nmov     r15, rdi                                                       ; +0x11, 0x10065dfb1\nmov     [rdi+278h], esi                                                ; +0x14, 0x10065dfb4\ncall    GameManager__sharedState                                       ; +0x1a, 0x10065dfba\nmov     ecx, [rax+304h]                                                ; +0x1f, 0x10065dfbf\nsub     ecx, [rax+308h]                                                ; +0x25, 0x10065dfc5\nmov     [rbp+var_4C], ecx                                              ; +0x2b, 0x10065dfcb\ncall    GameManager__sharedState                                       ; +0x2e, 0x10065dfce\nmov     ecx, [rax+310h]                                                ; +0x33, 0x10065dfd3\nsub     ecx, [rax+314h]                                                ; +0x39, 0x10065dfd9\nmov     [rbp+var_48], ecx                                              ; +0x3f, 0x10065dfdf\ncall    GameManager__sharedState                                       ; +0x42, 0x10065dfe2\nmov     rcx, [r15+298h]                                                ; +0x47, 0x10065dfe7\ntest    rcx, rcx                                                       ; +0x4e, 0x10065dfee\nmov     [rbp+var_38], r15                                              ; +0x51, 0x10065dff1\njz      loc_10065E1F6                                                  ; +0x55, 0x10065dff5\nmov     rdx, [rcx+38h]                                                 ; +0x5b, 0x10065dffb\ntest    rdx, rdx                                                       ; +0x5f, 0x10065dfff\njz      loc_10065E1F6                                                  ; +0x62, 0x10065e002\nmov     ecx, [rax+31Ch]                                                ; +0x68, 0x10065e008\nsub     ecx, [rax+320h]                                                ; +0x6e, 0x10065e00e\nmov     [rbp+var_44], ecx                                              ; +0x74, 0x10065e014\njmp     short loc_10065E048                                            ; +0x77, 0x10065e017\nalign 20h                                                              ; +0x79, 0x10065e019\nmov     [rbp+var_3E], 0FFh                                             ; +0x80, 0x10065e020\nmov     [rbp+var_40], 0FFFFh                                           ; +0x84, 0x10065e024\nmov     rax, [r13+0]                                                   ; +0x8a, 0x10065e02a\nmov     rdi, r13                                                       ; +0x8e, 0x10065e02e\nlea     rsi, [rbp+var_40]                                              ; +0x91, 0x10065e031\ncall    qword ptr [rax+3B0h]                                           ; +0x95, 0x10065e035\nmov     rdx, [rbp+var_58]                                              ; +0x9b, 0x10065e03b\ntest    rdx, rdx                                                       ; +0x9f, 0x10065e03f\njz      loc_10065E1F6                                                  ; +0xa2, 0x10065e042\nmov     r13, [rdx+108h]                                                ; +0xa8, 0x10065e048\nmov     rdx, [rdx+120h]                                                ; +0xaf, 0x10065e04f\nmov     [rbp+var_58], rdx                                              ; +0xb6, 0x10065e056\nmov     rax, [r13+0]                                                   ; +0xba, 0x10065e05a\nmov     rdi, r13                                                       ; +0xbe, 0x10065e05e\ncall    qword ptr [rax+1F0h]                                           ; +0xc1, 0x10065e061\nmov     rcx, [rax]                                                     ; +0xc7, 0x10065e067\nmov     rdi, rax                                                       ; +0xca, 0x10065e06a\ncall    qword ptr [rcx+40h]                                            ; +0xcd, 0x10065e06d\nmov     r12d, eax                                                      ; +0xd0, 0x10065e070\nmov     rax, [rbp+var_38]                                              ; +0xd3, 0x10065e073\nmov     r15, [rax+240h]                                                ; +0xd7, 0x10065e077\nmov     rax, [rbp+var_38]                                              ; +0xde, 0x10065e07e\nmov     r14, [rax+220h]                                                ; +0xe2, 0x10065e082\nmov     rax, [r13+0]                                                   ; +0xe9, 0x10065e089\nmov     rdi, r13                                                       ; +0xed, 0x10065e08d\ncall    qword ptr [rax+1F0h]                                           ; +0xf0, 0x10065e090\nmov     rcx, [rax]                                                     ; +0xf6, 0x10065e096\nmov     rdi, rax                                                       ; +0xf9, 0x10065e099\ncall    qword ptr [rcx+0C0h]                                           ; +0xfc, 0x10065e09c\nlea     rbx, [rbp+var_40]                                              ; +0x102, 0x10065e0a2\nmov     rdi, rbx                                                       ; +0x106, 0x10065e0a6\nmov     rsi, r14                                                       ; +0x109, 0x10065e0a9\nmov     rdx, rax                                                       ; +0x10c, 0x10065e0ac\ncall    cocos2d__CCNode__convertToWorldSpace                           ; +0x10f, 0x10065e0af\nlea     r14, [rbp+var_30]                                              ; +0x114, 0x10065e0b4\nmov     rdi, r14                                                       ; +0x118, 0x10065e0b8\nmov     rsi, r15                                                       ; +0x11b, 0x10065e0bb\nmov     r15, [rbp+var_38]                                              ; +0x11e, 0x10065e0be\nmov     rdx, rbx                                                       ; +0x122, 0x10065e0c2\ncall    cocos2d__CCNode__convertToNodeSpace                            ; +0x125, 0x10065e0c5\ncmp     r12d, [rbp+var_4C]                                             ; +0x12a, 0x10065e0ca\njz      loc_10065E1A0                                                  ; +0x12e, 0x10065e0ce\ncmp     r12d, [rbp+var_48]                                             ; +0x134, 0x10065e0d4\njz      loc_10065E1C7                                                  ; +0x138, 0x10065e0d8\ncmp     r12d, [rbp+var_44]                                             ; +0x13e, 0x10065e0de\njnz     short loc_10065E104                                            ; +0x142, 0x10065e0e2\nmov     rdi, [r15+2A0h]                                                ; +0x144, 0x10065e0e4\nmov     esi, 2                                                         ; +0x14b, 0x10065e0eb\ncall    sub_1007200C0                                                  ; +0x150, 0x10065e0f0\nmov     rcx, [rax]                                                     ; +0x155, 0x10065e0f5\nmov     rdi, rax                                                       ; +0x158, 0x10065e0f8\nmov     rsi, r14                                                       ; +0x15b, 0x10065e0fb\ncall    qword ptr [rcx+0B8h]                                           ; +0x15e, 0x10065e0fe\ncall    GameManager__sharedState                                       ; +0x164, 0x10065e104\ncmp     dword ptr [r15+278h], 1                                        ; +0x169, 0x10065e109\nmov     edx, 3                                                         ; +0x171, 0x10065e111\nsbb     edx, 0                                                         ; +0x176, 0x10065e116\nmov     rdi, rax                                                       ; +0x179, 0x10065e119\nmov     esi, r12d                                                      ; +0x17c, 0x10065e11c\ncall    GameManager__isColorUnlocked                                   ; +0x17f, 0x10065e11f\nmov     r14d, eax                                                      ; +0x184, 0x10065e124\nmov     rax, [r13+0]                                                   ; +0x187, 0x10065e127\nmov     rdi, r13                                                       ; +0x18b, 0x10065e12b\nmov     esi, 64h ; 'd'                                                 ; +0x18e, 0x10065e12e\ncall    qword ptr [rax+1D0h]                                           ; +0x193, 0x10065e133\nmov     r13, rax                                                       ; +0x199, 0x10065e139\nmov     eax, r14d                                                      ; +0x19c, 0x10065e13c\nxor     al, 1                                                          ; +0x19f, 0x10065e13f\nmov     rcx, [r13+0]                                                   ; +0x1a1, 0x10065e141\nmovzx   esi, al                                                        ; +0x1a5, 0x10065e145\nmov     rdi, r13                                                       ; +0x1a8, 0x10065e148\ncall    qword ptr [rcx+148h]                                           ; +0x1ab, 0x10065e14b\ntest    r14b, r14b                                                     ; +0x1b1, 0x10065e151\njnz     loc_10065E020                                                  ; +0x1b4, 0x10065e154\ncall    GameStatsManager__sharedState                                  ; +0x1ba, 0x10065e15a\ncmp     dword ptr [r15+278h], 1                                        ; +0x1bf, 0x10065e15f\nmov     edx, 3                                                         ; +0x1c7, 0x10065e167\nsbb     edx, 0                                                         ; +0x1cc, 0x10065e16c\nmov     rdi, rax                                                       ; +0x1cf, 0x10065e16f\nmov     esi, r12d                                                      ; +0x1d2, 0x10065e172\ncall    GameStatsManager__getItemUnlockState                           ; +0x1d5, 0x10065e175\ntest    eax, eax                                                       ; +0x1da, 0x10065e17a\njnz     loc_10065E020                                                  ; +0x1dc, 0x10065e17c\nmov     [rbp+var_3E], 0                                                ; +0x1e2, 0x10065e182\nmov     [rbp+var_40], 0FF00h                                           ; +0x1e6, 0x10065e186\njmp     loc_10065E02A                                                  ; +0x1ec, 0x10065e18c\nalign 20h                                                              ; +0x1f1, 0x10065e191\nmov     rdi, [r15+2A0h]                                                ; +0x200, 0x10065e1a0\nxor     esi, esi                                                       ; +0x207, 0x10065e1a7\ncall    sub_1007200C0                                                  ; +0x209, 0x10065e1a9\nmov     rcx, [rax]                                                     ; +0x20e, 0x10065e1ae\nmov     rdi, rax                                                       ; +0x211, 0x10065e1b1\nmov     rsi, r14                                                       ; +0x214, 0x10065e1b4\ncall    qword ptr [rcx+0B8h]                                           ; +0x217, 0x10065e1b7\ncmp     r12d, [rbp+var_48]                                             ; +0x21d, 0x10065e1bd\njnz     loc_10065E0DE                                                  ; +0x221, 0x10065e1c1\nmov     rdi, [r15+2A0h]                                                ; +0x227, 0x10065e1c7\nmov     esi, 1                                                         ; +0x22e, 0x10065e1ce\ncall    sub_1007200C0                                                  ; +0x233, 0x10065e1d3\nmov     rcx, [rax]                                                     ; +0x238, 0x10065e1d8\nmov     rdi, rax                                                       ; +0x23b, 0x10065e1db\nmov     rsi, r14                                                       ; +0x23e, 0x10065e1de\ncall    qword ptr [rcx+0B8h]                                           ; +0x241, 0x10065e1e1\ncmp     r12d, [rbp+var_44]                                             ; +0x247, 0x10065e1e7\njz      loc_10065E0E4                                                  ; +0x24b, 0x10065e1eb\njmp     loc_10065E104                                                  ; +0x251, 0x10065e1f1\nmov     rdi, [r15+2A0h]                                                ; +0x256, 0x10065e1f6\nxor     esi, esi                                                       ; +0x25d, 0x10065e1fd\ncall    sub_1007200C0                                                  ; +0x25f, 0x10065e1ff\nmov     r14, rax                                                       ; +0x264, 0x10065e204\nmov     rdi, [r15+290h]                                                ; +0x267, 0x10065e207\nxor     esi, esi                                                       ; +0x26e, 0x10065e20e\ncall    sub_1007200C0                                                  ; +0x270, 0x10065e210\nmov     rcx, r15                                                       ; +0x275, 0x10065e215\nmov     r15, rax                                                       ; +0x278, 0x10065e218\ncmp     dword ptr [rcx+278h], 0                                        ; +0x27b, 0x10065e21b\njz      short loc_10065E24D                                            ; +0x282, 0x10065e222\nmov     [rbp+var_2E], 32h ; '2'                                        ; +0x284, 0x10065e224\nmov     [rbp+var_30], 3232h                                            ; +0x288, 0x10065e228\nmov     rax, [r14]                                                     ; +0x28e, 0x10065e22e\nlea     rsi, [rbp+var_30]                                              ; +0x291, 0x10065e231\nmov     rdi, r14                                                       ; +0x295, 0x10065e235\ncall    qword ptr [rax+3B0h]                                           ; +0x298, 0x10065e238\nlea     r12, aGjButton04Png; \"GJ_button_04.png\"                        ; +0x29e, 0x10065e23e\nmov     r13d, 1                                                        ; +0x2a5, 0x10065e245\njmp     short loc_10065E274                                            ; +0x2ab, 0x10065e24b\nmov     [rbp+var_2E], 0FFh                                             ; +0x2ad, 0x10065e24d\nmov     [rbp+var_30], 0FFFFh                                           ; +0x2b1, 0x10065e251\nmov     rax, [r14]                                                     ; +0x2b7, 0x10065e257\nlea     rsi, [rbp+var_30]                                              ; +0x2ba, 0x10065e25a\nmov     rdi, r14                                                       ; +0x2be, 0x10065e25e\ncall    qword ptr [rax+3B0h]                                           ; +0x2c1, 0x10065e261\nlea     r12, aGjButton01Png; \"GJ_button_01.png\"                        ; +0x2c7, 0x10065e267\nmov     r13d, 0Bh                                                      ; +0x2ce, 0x10065e26e\nmov     rax, [r14]                                                     ; +0x2d4, 0x10065e274\nmov     rdi, r14                                                       ; +0x2d7, 0x10065e277\ncall    qword ptr [rax+1F0h]                                           ; +0x2da, 0x10065e27a\nmov     rcx, [rax]                                                     ; +0x2e0, 0x10065e280\nmov     rdi, rax                                                       ; +0x2e3, 0x10065e283\nmov     rsi, r14                                                       ; +0x2e6, 0x10065e286\nmov     edx, r13d                                                      ; +0x2e9, 0x10065e289\ncall    qword ptr [rcx+240h]                                           ; +0x2ec, 0x10065e28c\nmov     rdi, r15                                                       ; +0x2f2, 0x10065e292\nmov     rsi, r12                                                       ; +0x2f5, 0x10065e295\ncall    ButtonSprite__updateBGImage                                    ; +0x2f8, 0x10065e298\nmov     rbx, [rbp+var_38]                                              ; +0x2fd, 0x10065e29d\nmov     rdi, [rbx+2A0h]                                                ; +0x301, 0x10065e2a1\nmov     r12d, 1                                                        ; +0x308, 0x10065e2a8\nmov     esi, 1                                                         ; +0x30e, 0x10065e2ae\ncall    sub_1007200C0                                                  ; +0x313, 0x10065e2b3\nmov     r14, rax                                                       ; +0x318, 0x10065e2b8\nmov     rdi, [rbx+290h]                                                ; +0x31b, 0x10065e2bb\nmov     esi, 1                                                         ; +0x322, 0x10065e2c2\ncall    sub_1007200C0                                                  ; +0x327, 0x10065e2c7\nmov     r15, rax                                                       ; +0x32c, 0x10065e2cc\ncmp     dword ptr [rbx+278h], 1                                        ; +0x32f, 0x10065e2cf\njnz     short loc_10065E301                                            ; +0x336, 0x10065e2d6\nmov     [rbp+var_2E], 0FFh                                             ; +0x338, 0x10065e2d8\nmov     [rbp+var_30], 0FFFFh                                           ; +0x33c, 0x10065e2dc\nmov     rax, [r14]                                                     ; +0x342, 0x10065e2e2\nlea     rsi, [rbp+var_30]                                              ; +0x345, 0x10065e2e5\nmov     rdi, r14                                                       ; +0x349, 0x10065e2e9\ncall    qword ptr [rax+3B0h]                                           ; +0x34c, 0x10065e2ec\nlea     r13, aGjButton01Png; \"GJ_button_01.png\"                        ; +0x352, 0x10065e2f2\nmov     r12d, 0Bh                                                      ; +0x359, 0x10065e2f9\njmp     short loc_10065E322                                            ; +0x35f, 0x10065e2ff\nmov     [rbp+var_2E], 32h ; '2'                                        ; +0x361, 0x10065e301\nmov     [rbp+var_30], 3232h                                            ; +0x365, 0x10065e305\nmov     rax, [r14]                                                     ; +0x36b, 0x10065e30b\nlea     rsi, [rbp+var_30]                                              ; +0x36e, 0x10065e30e\nmov     rdi, r14                                                       ; +0x372, 0x10065e312\ncall    qword ptr [rax+3B0h]                                           ; +0x375, 0x10065e315\nlea     r13, aGjButton04Png; \"GJ_button_04.png\"                        ; +0x37b, 0x10065e31b\nmov     rax, [r14]                                                     ; +0x382, 0x10065e322\nmov     rdi, r14                                                       ; +0x385, 0x10065e325\ncall    qword ptr [rax+1F0h]                                           ; +0x388, 0x10065e328\nmov     rcx, [rax]                                                     ; +0x38e, 0x10065e32e\nmov     rdi, rax                                                       ; +0x391, 0x10065e331\nmov     rsi, r14                                                       ; +0x394, 0x10065e334\nmov     edx, r12d                                                      ; +0x397, 0x10065e337\ncall    qword ptr [rcx+240h]                                           ; +0x39a, 0x10065e33a\nmov     rdi, r15                                                       ; +0x3a0, 0x10065e340\nmov     rsi, r13                                                       ; +0x3a3, 0x10065e343\ncall    ButtonSprite__updateBGImage                                    ; +0x3a6, 0x10065e346\nmov     rbx, [rbp+var_38]                                              ; +0x3ab, 0x10065e34b\nmov     rdi, [rbx+2A0h]                                                ; +0x3af, 0x10065e34f\nmov     esi, 2                                                         ; +0x3b6, 0x10065e356\ncall    sub_1007200C0                                                  ; +0x3bb, 0x10065e35b\nmov     r14, rax                                                       ; +0x3c0, 0x10065e360\nmov     rdi, [rbx+290h]                                                ; +0x3c3, 0x10065e363\nmov     esi, 2                                                         ; +0x3ca, 0x10065e36a\ncall    sub_1007200C0                                                  ; +0x3cf, 0x10065e36f\nmov     r15, rax                                                       ; +0x3d4, 0x10065e374\ncmp     dword ptr [rbx+278h], 2                                        ; +0x3d7, 0x10065e377\njnz     short loc_10065E3A9                                            ; +0x3de, 0x10065e37e\nmov     [rbp+var_2E], 0FFh                                             ; +0x3e0, 0x10065e380\nmov     [rbp+var_30], 0FFFFh                                           ; +0x3e4, 0x10065e384\nmov     rax, [r14]                                                     ; +0x3ea, 0x10065e38a\nlea     rsi, [rbp+var_30]                                              ; +0x3ed, 0x10065e38d\nmov     rdi, r14                                                       ; +0x3f1, 0x10065e391\ncall    qword ptr [rax+3B0h]                                           ; +0x3f4, 0x10065e394\nlea     r12, aGjButton01Png; \"GJ_button_01.png\"                        ; +0x3fa, 0x10065e39a\nmov     r13d, 0Bh                                                      ; +0x401, 0x10065e3a1\njmp     short loc_10065E3D0                                            ; +0x407, 0x10065e3a7\nmov     [rbp+var_2E], 32h ; '2'                                        ; +0x409, 0x10065e3a9\nmov     [rbp+var_30], 3232h                                            ; +0x40d, 0x10065e3ad\nmov     rax, [r14]                                                     ; +0x413, 0x10065e3b3\nlea     rsi, [rbp+var_30]                                              ; +0x416, 0x10065e3b6\nmov     rdi, r14                                                       ; +0x41a, 0x10065e3ba\ncall    qword ptr [rax+3B0h]                                           ; +0x41d, 0x10065e3bd\nlea     r12, aGjButton04Png; \"GJ_button_04.png\"                        ; +0x423, 0x10065e3c3\nmov     r13d, 1                                                        ; +0x42a, 0x10065e3ca\nmov     rax, [r14]                                                     ; +0x430, 0x10065e3d0\nmov     rdi, r14                                                       ; +0x433, 0x10065e3d3\ncall    qword ptr [rax+1F0h]                                           ; +0x436, 0x10065e3d6\nmov     rcx, [rax]                                                     ; +0x43c, 0x10065e3dc\nmov     rdi, rax                                                       ; +0x43f, 0x10065e3df\nmov     rsi, r14                                                       ; +0x442, 0x10065e3e2\nmov     edx, r13d                                                      ; +0x445, 0x10065e3e5\ncall    qword ptr [rcx+240h]                                           ; +0x448, 0x10065e3e8\nmov     rdi, r15                                                       ; +0x44e, 0x10065e3ee\nmov     rsi, r12                                                       ; +0x451, 0x10065e3f1\ncall    ButtonSprite__updateBGImage                                    ; +0x454, 0x10065e3f4\nxor     r14d, r14d                                                     ; +0x459, 0x10065e3f9\nmov     rbx, [rbp+var_38]                                              ; +0x45c, 0x10065e3fc\ncmp     dword ptr [rbx+278h], 2                                        ; +0x460, 0x10065e400\nsetz    r14b                                                           ; +0x467, 0x10065e407\nmov     rdi, [rbx+2B0h]                                                ; +0x46b, 0x10065e40b\nmov     rax, [rdi]                                                     ; +0x472, 0x10065e412\nmov     esi, r14d                                                      ; +0x475, 0x10065e415\ncall    qword ptr [rax+410h]                                           ; +0x478, 0x10065e418\nmov     rdi, [rbx+2B0h]                                                ; +0x47e, 0x10065e41e\nmov     rax, [rdi]                                                     ; +0x485, 0x10065e425\nmov     esi, r14d                                                      ; +0x488, 0x10065e428\ncall    qword ptr [rax+148h]                                           ; +0x48b, 0x10065e42b\nmov     rdi, [rbx+2B8h]                                                ; +0x491, 0x10065e431\nmov     rax, [rdi]                                                     ; +0x498, 0x10065e438\nmov     esi, r14d                                                      ; +0x49b, 0x10065e43b\ncall    qword ptr [rax+148h]                                           ; +0x49e, 0x10065e43e\nadd     rsp, 38h                                                       ; +0x4a4, 0x10065e444\npop     rbx                                                            ; +0x4a8, 0x10065e448\npop     r12                                                            ; +0x4a9, 0x10065e449\npop     r13                                                            ; +0x4ab, 0x10065e44b\npop     r14                                                            ; +0x4ad, 0x10065e44d\npop     r15                                                            ; +0x4af, 0x10065e44f\npop     rbp                                                            ; +0x4b1, 0x10065e451\nretn                                                                   ; +0x4b2, 0x10065e452", "xrefs": ["CharacterColorPage::init @ 0x10065d703", "CharacterColorPage::onMode @ 0x10065d8b2"], "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"}