{"type": "func", "start": 5656936, "end": 5657560, "name": "CharacterColorPage::createColorMenu", "pseudocode": "// \n// CharacterColorPage::createColorMenu from 0x565168 to 0x5653d8 (624 bytes)\n// \n// 1 xrefs:\n// > CharacterColorPage::init @ 0x565caa\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 CharacterColorPage::createColorMenu(CharacterColorPage *a1)\n{\n  int v2; // r7\n  cocos2d::CCDirector *v3; // r0\n  cocos2d::CCArray *v4; // r0\n  cocos2d::CCArray *v5; // r0\n  cocos2d::CCSprite *v6; // r4\n  cocos2d::CCDictionary *v7; // r0\n  int v8; // r4\n  int v9; // s17\n  intptr_t v10; // r10\n  ColorChannelSprite *v11; // r6\n  cocos2d::CCSprite *v12; // r7\n  void (__fastcall *setPosition)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // r11\n  CCMenuItemSpriteExtra *v14; // r7\n  void (__fastcall *setColor)(cocos2d::CCSprite *__hidden, const cocos2d::ccColor3B *); // r7\n  GameManager *v16; // r0\n  int v17; // r0\n  void (__fastcall *v18)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // [sp+10h] [bp-54h]\n  cocos2d::CCMenu *m_buttonMenu; // [sp+14h] [bp-50h]\n  cocos2d::CCSprite *v20; // [sp+20h] [bp-44h] BYREF\n  cocos2d::CCSize v21; // [sp+24h] [bp-40h] BYREF\n  cocos2d::CCPoint v22; // [sp+2Ch] [bp-38h] BYREF\n  float v23[2]; // [sp+34h] [bp-30h] BYREF\n  cocos2d::CCPoint v24; // [sp+3Ch] [bp-28h] BYREF\n  cocos2d::CCPoint v25; // [sp+44h] [bp-20h] BYREF\n  cocos2d::CCPoint v26; // [sp+4Ch] [bp-18h] BYREF\n  void (*v27)(CharacterColorPage *, cocos2d::CCObject *); // [sp+54h] [bp-10h]\n  int v28; // [sp+58h] [bp-Ch]\n\n  v2 = 3;\n  v3 = cocos2d::CCDirector::sharedDirector();\n  cocos2d::CCDirector::getWinSize(&v21, v3);\n  v4 = (cocos2d::CCArray *)cocos2d::CCPoint::CCPoint(&v22, v21.width * 0.5, (float)(v21.height * 0.5) - 59.0);\n  v5 = (cocos2d::CCArray *)cocos2d::CCArray::create(v4);\n  a1->m_cursors = v5;\n  cocos2d::CCObject::retain(v5);\n  do\n  {\n    v6 = cocos2d::CCSprite::createWithSpriteFrameName(\"GJ_select_001.png\");\n    ((void (__fastcall *)(cocos2d::CCSprite *, int))v6->setScale)(v6, 1060320051);\n    a1->m_mainLayer->addChild_0(a1->m_mainLayer, v6, 11);\n    cocos2d::CCArray::addObject(a1->m_cursors, v6);\n    --v2;\n  }\n  while ( v2 );\n  v7 = cocos2d::CCDictionary::create();\n  v8 = 0;\n  a1->m_colorButtons = v7;\n  cocos2d::CCObject::retain(v7);\n  do\n  {\n    v9 = (int)floorf((float)(v8 / 18));\n    v10 = CharacterColorPage::colorForIndex(a1, v8);\n    if ( v10 >= 0 )\n    {\n      v11 = ColorChannelSprite::create();\n      cocos2d::CCDictionary::setObject(a1->m_colorButtons, v11, v10);\n      ((void (__fastcall *)(ColorChannelSprite *, int))v11->setScale)(v11, 1059481190);\n      sub_776584((int)&v20, \"GJ_lockGray_001.png\");\n      v12 = cocos2d::CCSprite::createWithSpriteFrameName((const char *)v20);\n      ((void (__fastcall *)(cocos2d::CCSprite *, int))v12->setScale)(v12, 1061997773);\n      v12->setTag(v12, 100);\n      v11->addChild(v11, v12);\n      setPosition = v12->setPosition;\n      cocos2d::CCPoint::CCPoint(&v26, v11->m_obRect.size.width * 0.5, v11->m_obRect.size.height * 0.5);\n      setPosition(v12, &v26);\n      v27 = CharacterColorPage::onPlayerColor;\n      v28 = 0;\n      v14 = CCMenuItemSpriteExtra::create(\n              v11,\n              nullptr,\n              (cocos2d::SEL_MenuHandler)__PAIR64__(CharacterColorPage::onPlayerColor, (unsigned int)a1));\n      v14->setTag(v14, v10);\n      a1->m_buttonMenu->addChild(a1->m_buttonMenu, v14);\n      CharacterColorPage::offsetForIndex(&v26, a1, v8);\n      cocos2d::CCPoint::operator*(v23, &v26, 1094713344);\n      v18 = v14->setPosition;\n      m_buttonMenu = a1->m_buttonMenu;\n      cocos2d::CCPoint::CCPoint(\n        &v24,\n        (float)((float)((float)((float)(v8 % 18) * 24.0) - 204.0) + v23[0]) + 6.0,\n        (float)(96.0 - (float)((float)v9 * 24.0)) + v23[1]);\n      cocos2d::CCPoint::operator+(&v25, &v22, &v24);\n      cocos2d::CCNode::convertToNodeSpace(&v26, m_buttonMenu, &v25);\n      v18(v14, &v26);\n      setColor = v11->setColor;\n      v16 = GameManager::sharedState();\n      *(cocos2d::ccColor3B *)&v17 = GameManager::colorForIdx(v16, v10);\n      LOWORD(v26.x) = v17;\n      BYTE2(v26.x) = BYTE2(v17);\n      setColor(v11, (const cocos2d::ccColor3B *)&v26);\n      sub_774008(&v20);\n    }\n    ++v8;\n  }\n  while ( v8 != 144 );\n}", "assembly": "; \n; CharacterColorPage::createColorMenu from 0x565168 to 0x5653d8 (624 bytes)\n; \n; 1 xrefs:\n; > CharacterColorPage::init @ 0x565caa\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.W          {R4-R11,LR}                                            ; +0x0, 0x565168\nMOV             R5, R0                                                 ; +0x4, 0x56516c\nLDR             R4, =(__stack_chk_guard_ptr - 0x56517A)                ; +0x6, 0x56516e\nMOVS            R7, #3                                                 ; +0x8, 0x565170\nVPUSH           {D8}                                                   ; +0xa, 0x565172\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0xe, 0x565176\nLDR             R4, [R4]; __stack_chk_guard                            ; +0x10, 0x565178\nLDR             R6, =(aGjSelect001Png - 0x565188); \"GJ_select_001.png\" ; +0x12, 0x56517a\nLDR             R3, [R4]                                               ; +0x14, 0x56517c\nVMOV.F32        S16, #0.5                                              ; +0x16, 0x56517e\nSUB             SP, SP, #0x64                                          ; +0x1a, 0x565182\nADD             R6, PC; \"GJ_select_001.png\"                            ; +0x1c, 0x565184\nSTR             R3, [SP,#0x64+var_8]                                   ; +0x1e, 0x565186\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x20, 0x565188\nMOV             R1, R0                                                 ; +0x24, 0x56518c\nADD             R0, SP, #0x64+var_40; this                             ; +0x26, 0x56518e\nBL              _ZN7cocos2d10CCDirector10getWinSizeEv; cocos2d::CCDirector::getWinSize(void) ; +0x28, 0x565190\nVLDR            S15, [SP,#0x64+var_40]                                 ; +0x2c, 0x565194\nADD             R3, SP, #0x64+var_38                                   ; +0x30, 0x565198\nSTR             R3, [SP,#0x64+var_58]                                  ; +0x32, 0x56519a\nVLDR            S14, [SP,#0x64+var_3C]                                 ; +0x34, 0x56519c\nMOV             R0, R3; this                                           ; +0x38, 0x5651a0\nVMUL.F32        S15, S15, S16                                          ; +0x3a, 0x5651a2\nVMOV            R1, S15; float                                         ; +0x3e, 0x5651a6\nVLDR            S15, =59.0                                             ; +0x42, 0x5651aa\nVNMLS.F32       S15, S14, S16                                          ; +0x46, 0x5651ae\nVMOV            R2, S15; float                                         ; +0x4a, 0x5651b2\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x4e, 0x5651b6\nBL              _ZN7cocos2d7CCArray6createEv; cocos2d::CCArray::create(void) ; +0x52, 0x5651ba\nSTR.W           R0, [R5,#0x208]                                        ; +0x56, 0x5651be\nBL              _ZN7cocos2d8CCObject6retainEv; cocos2d::CCObject::retain(void) ; +0x5a, 0x5651c2\nSTR             R4, [SP,#0x64+var_4C]                                  ; +0x5e, 0x5651c6\nMOV             R0, R6; this                                           ; +0x60, 0x5651c8\nBL              _ZN7cocos2d8CCSprite25createWithSpriteFrameNameEPKc; cocos2d::CCSprite::createWithSpriteFrameName(char const*) ; +0x62, 0x5651ca\nLDR             R1, =0x3F333333                                        ; +0x66, 0x5651ce\nLDR             R3, [R0]                                               ; +0x68, 0x5651d0\nMOV             R4, R0                                                 ; +0x6a, 0x5651d2\nLDR             R3, [R3,#0x50]                                         ; +0x6c, 0x5651d4\nBLX             R3                                                     ; +0x6e, 0x5651d6\nLDR.W           R0, [R5,#0x1C8]                                        ; +0x70, 0x5651d8\nMOV             R1, R4                                                 ; +0x74, 0x5651dc\nMOVS            R2, #0xB                                               ; +0x76, 0x5651de\nLDR             R3, [R0]                                               ; +0x78, 0x5651e0\nLDR.W           R3, [R3,#0xE0]                                         ; +0x7a, 0x5651e2\nBLX             R3                                                     ; +0x7e, 0x5651e6\nLDR.W           R0, [R5,#0x208]; this                                  ; +0x80, 0x5651e8\nMOV             R1, R4; cocos2d::CCObject *                            ; +0x84, 0x5651ec\nBL              _ZN7cocos2d7CCArray9addObjectEPNS_8CCObjectE; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x86, 0x5651ee\nSUBS            R7, #1                                                 ; +0x8a, 0x5651f2\nBNE             loc_5651C8                                             ; +0x8c, 0x5651f4\nBL              _ZN7cocos2d12CCDictionary6createEv; cocos2d::CCDictionary::create(void) ; +0x8e, 0x5651f6\nMOV             R4, R7                                                 ; +0x92, 0x5651fa\nSTR.W           R0, [R5,#0x204]                                        ; +0x94, 0x5651fc\nBL              _ZN7cocos2d8CCObject6retainEv; cocos2d::CCObject::retain(void) ; +0x98, 0x565200\nLDR             R3, =(aGjLockgray001P - 0x56520A); \"GJ_lockGray_001.png\" ; +0x9c, 0x565204\nADD             R3, PC; \"GJ_lockGray_001.png\"                          ; +0x9e, 0x565206\nSTR             R3, [SP,#0x64+var_48]                                  ; +0xa0, 0x565208\nMOVS            R1, #0x12                                              ; +0xa2, 0x56520a\nMOV             R0, R4                                                 ; +0xa4, 0x56520c\nBLX             __aeabi_idiv                                           ; +0xa6, 0x56520e\nVMOV            S15, R0                                                ; +0xaa, 0x565212\nVCVT.F32.S32    S15, S15                                               ; +0xae, 0x565216\nVMOV            R0, S15; x                                             ; +0xb2, 0x56521a\nBLX             floorf                                                 ; +0xb6, 0x56521e\nMOV             R1, R4; int                                            ; +0xba, 0x565222\nVMOV            S15, R0                                                ; +0xbc, 0x565224\nMOV             R0, R5; this                                           ; +0xc0, 0x565228\nVCVT.S32.F32    S17, S15                                               ; +0xc2, 0x56522a\nBL              _ZN18CharacterColorPage13colorForIndexEi; CharacterColorPage::colorForIndex(int) ; +0xc6, 0x56522e\nSUBS.W          R10, R0, #0                                            ; +0xca, 0x565232\nBLT.W           loc_5653AC                                             ; +0xce, 0x565236\nBL              _ZN18ColorChannelSprite6createEv; ColorChannelSprite::create(void) ; +0xd2, 0x56523a\nMOV             R2, R10; int                                           ; +0xd6, 0x56523e\nADD.W           R9, SP, #0x64+var_44                                   ; +0xd8, 0x565240\nADD.W           R8, SP, #0x64+var_18                                   ; +0xdc, 0x565244\nMOV             R6, R0                                                 ; +0xe0, 0x565248\nLDR.W           R0, [R5,#0x204]; this                                  ; +0xe2, 0x56524a\nMOV             R1, R6; cocos2d::CCObject *                            ; +0xe6, 0x56524e\nBL              _ZN7cocos2d12CCDictionary9setObjectEPNS_8CCObjectEi; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,int) ; +0xe8, 0x565250\nLDR             R3, [R6]                                               ; +0xec, 0x565254\nMOV             R0, R6                                                 ; +0xee, 0x565256\nLDR             R1, =0x3F266666                                        ; +0xf0, 0x565258\nLDR             R3, [R3,#0x50]                                         ; +0xf2, 0x56525a\nBLX             R3                                                     ; +0xf4, 0x56525c\nMOV             R0, R9; int                                            ; +0xf6, 0x56525e\nLDR             R1, [SP,#0x64+var_48]; char *                          ; +0xf8, 0x565260\nMOV             R2, R8                                                 ; +0xfa, 0x565262\nBL              sub_776584                                             ; +0xfc, 0x565264\nLDR             R0, [SP,#0x64+var_44]; this                            ; +0x100, 0x565268\nBL              _ZN7cocos2d8CCSprite25createWithSpriteFrameNameEPKc; cocos2d::CCSprite::createWithSpriteFrameName(char const*) ; +0x102, 0x56526a\nLDR             R3, [R0]                                               ; +0x106, 0x56526e\nMOV             R7, R0                                                 ; +0x108, 0x565270\nLDR             R1, =0x3F4CCCCD                                        ; +0x10a, 0x565272\nLDR             R3, [R3,#0x50]                                         ; +0x10c, 0x565274\nBLX             R3                                                     ; +0x10e, 0x565276\nLDR             R3, [R7]                                               ; +0x110, 0x565278\nMOV             R0, R7                                                 ; +0x112, 0x56527a\nMOVS            R1, #0x64 ; 'd'                                        ; +0x114, 0x56527c\nLDR             R3, [R3,#0x24]                                         ; +0x116, 0x56527e\nBLX             R3                                                     ; +0x118, 0x565280\nLDR             R3, [R6]                                               ; +0x11a, 0x565282\nMOV             R0, R6                                                 ; +0x11c, 0x565284\nMOV             R1, R7                                                 ; +0x11e, 0x565286\nLDR.W           R3, [R3,#0xDC]                                         ; +0x120, 0x565288\nBLX             R3                                                     ; +0x124, 0x56528c\nVLDR            S14, [R6,#0x158]                                       ; +0x126, 0x56528e\nMOV             R0, R8; this                                           ; +0x12a, 0x565292\nLDR             R3, [R7]                                               ; +0x12c, 0x565294\nVLDR            S15, [R6,#0x15C]                                       ; +0x12e, 0x565296\nLDR.W           R11, [R3,#0x5C]                                        ; +0x132, 0x56529a\nVMUL.F32        S14, S14, S16                                          ; +0x136, 0x56529e\nVMUL.F32        S15, S15, S16                                          ; +0x13a, 0x5652a2\nVMOV            R1, S14; float                                         ; +0x13e, 0x5652a6\nVMOV            R2, S15; float                                         ; +0x142, 0x5652aa\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x146, 0x5652ae\nMOV             R0, R7                                                 ; +0x14a, 0x5652b2\nMOV             R1, R8                                                 ; +0x14c, 0x5652b4\nBLX             R11                                                    ; +0x14e, 0x5652b6\nLDR             R3, =(_ZN18CharacterColorPage13onPlayerColorEPN7cocos2d8CCObjectE_ptr - 0x5652C4) ; +0x150, 0x5652b8\nMOVS            R1, #0                                                 ; +0x152, 0x5652ba\nMOV             R0, R6                                                 ; +0x154, 0x5652bc\nSTR             R1, [SP,#0x64+var_64]                                  ; +0x156, 0x5652be\nADD             R3, PC; _ZN18CharacterColorPage13onPlayerColorEPN7cocos2d8CCObjectE_ptr ; +0x158, 0x5652c0\nLDR             R3, [R3]; CharacterColorPage::onPlayerColor(cocos2d::CCObject *) ; +0x15a, 0x5652c2\nMOV             R2, R5                                                 ; +0x15c, 0x5652c4\nSTR             R3, [SP,#0x64+var_10]                                  ; +0x15e, 0x5652c6\nSTR             R1, [SP,#0x64+var_C]                                   ; +0x160, 0x5652c8\nBL              _ZN21CCMenuItemSpriteExtra6createEPN7cocos2d6CCNodeES2_PNS0_8CCObjectEMS3_FvS4_E; CCMenuItemSpriteExtra::create(cocos2d::CCNode *,cocos2d::CCNode *,cocos2d::CCObject *,void (cocos2d::CCObject::*)(cocos2d::CCObject *)) ; +0x162, 0x5652ca\nLDR             R3, [R0]                                               ; +0x166, 0x5652ce\nMOV             R1, R10                                                ; +0x168, 0x5652d0\nMOV             R7, R0                                                 ; +0x16a, 0x5652d2\nLDR             R3, [R3,#0x24]                                         ; +0x16c, 0x5652d4\nBLX             R3                                                     ; +0x16e, 0x5652d6\nLDR.W           R0, [R5,#0x1B8]                                        ; +0x170, 0x5652d8\nMOV             R1, R7                                                 ; +0x174, 0x5652dc\nLDR             R3, [R0]                                               ; +0x176, 0x5652de\nLDR.W           R3, [R3,#0xDC]                                         ; +0x178, 0x5652e0\nBLX             R3                                                     ; +0x17c, 0x5652e4\nMOV             R0, R8; this                                           ; +0x17e, 0x5652e6\nMOV             R1, R5; int                                            ; +0x180, 0x5652e8\nMOV             R2, R4                                                 ; +0x182, 0x5652ea\nBL              _ZN18CharacterColorPage14offsetForIndexEi; CharacterColorPage::offsetForIndex(int) ; +0x184, 0x5652ec\nADD             R0, SP, #0x64+var_30                                   ; +0x188, 0x5652f0\nMOV             R1, R8                                                 ; +0x18a, 0x5652f2\nLDR             R2, =0x41400000                                        ; +0x18c, 0x5652f4\nBL              _ZNK7cocos2d7CCPointmlEf; cocos2d::CCPoint::operator*(float) ; +0x18e, 0x5652f6\nLDR             R3, [R7]                                               ; +0x192, 0x5652fa\nMOV             R0, R4                                                 ; +0x194, 0x5652fc\nMOVS            R1, #0x12                                              ; +0x196, 0x5652fe\nVCVT.F32.S32    S17, S17                                               ; +0x198, 0x565300\nADD.W           R8, SP, #0x64+var_28                                   ; +0x19c, 0x565304\nLDR             R3, [R3,#0x5C]                                         ; +0x1a0, 0x565308\nSTR             R3, [SP,#0x64+var_54]                                  ; +0x1a2, 0x56530a\nLDR.W           R3, [R5,#0x1B8]                                        ; +0x1a4, 0x56530c\nSTR             R3, [SP,#0x64+var_50]                                  ; +0x1a8, 0x565310\nBLX             __aeabi_idivmod                                        ; +0x1aa, 0x565312\nVMOV.F32        S13, #24.0                                             ; +0x1ae, 0x565316\nMOV             R0, R8; this                                           ; +0x1b2, 0x56531a\nVMOV            S15, R1                                                ; +0x1b4, 0x56531c\nVCVT.F32.S32    S14, S15                                               ; +0x1b8, 0x565320\nVLDR            S15, =204.0                                            ; +0x1bc, 0x565324\nVNMLS.F32       S15, S14, S13                                          ; +0x1c0, 0x565328\nVLDR            S14, [SP,#0x64+var_30]                                 ; +0x1c4, 0x56532c\nVADD.F32        S15, S15, S14                                          ; +0x1c8, 0x565330\nVLDR            S14, =96.0                                             ; +0x1cc, 0x565334\nVMLS.F32        S14, S17, S13                                          ; +0x1d0, 0x565338\nVMOV.F32        S13, #6.0                                              ; +0x1d4, 0x56533c\nVADD.F32        S15, S15, S13                                          ; +0x1d8, 0x565340\nVMOV            R1, S15; float                                         ; +0x1dc, 0x565344\nVLDR            S15, [SP,#0x64+var_2C]                                 ; +0x1e0, 0x565348\nVADD.F32        S15, S14, S15                                          ; +0x1e4, 0x56534c\nVMOV            R2, S15; float                                         ; +0x1e8, 0x565350\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x1ec, 0x565354\nADD.W           R11, SP, #0x64+var_20                                  ; +0x1f0, 0x565358\nLDR             R1, [SP,#0x64+var_58]                                  ; +0x1f4, 0x56535c\nMOV             R2, R8                                                 ; +0x1f6, 0x56535e\nMOV             R0, R11                                                ; +0x1f8, 0x565360\nBL              _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x1fa, 0x565362\nADD.W           R8, SP, #0x64+var_18                                   ; +0x1fe, 0x565366\nLDR             R1, [SP,#0x64+var_50]; cocos2d::CCPoint *              ; +0x202, 0x56536a\nMOV             R2, R11                                                ; +0x204, 0x56536c\nMOV             R0, R8; this                                           ; +0x206, 0x56536e\nBL              _ZN7cocos2d6CCNode18convertToNodeSpaceERKNS_7CCPointE; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const&) ; +0x208, 0x565370\nMOV             R0, R7                                                 ; +0x20c, 0x565374\nMOV             R1, R8                                                 ; +0x20e, 0x565376\nLDR             R3, [SP,#0x64+var_54]                                  ; +0x210, 0x565378\nBLX             R3                                                     ; +0x212, 0x56537a\nLDR             R3, [R6]                                               ; +0x214, 0x56537c\nLDR.W           R7, [R3,#0x1D8]                                        ; +0x216, 0x56537e\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x21a, 0x565382\nMOV             R1, R10; int                                           ; +0x21e, 0x565386\nBL              _ZN11GameManager11colorForIdxEi; GameManager::colorForIdx(int) ; +0x220, 0x565388\nUBFX.W          R3, R0, #8, #8                                         ; +0x224, 0x56538c\nSTRB.W          R0, [SP,#0x64+var_18]                                  ; +0x228, 0x565390\nSTRB.W          R3, [SP,#0x64+var_17]                                  ; +0x22c, 0x565394\nUBFX.W          R0, R0, #0x10, #8                                      ; +0x230, 0x565398\nMOV             R1, R8                                                 ; +0x234, 0x56539c\nSTRB.W          R0, [SP,#0x64+var_16]                                  ; +0x236, 0x56539e\nMOV             R0, R6                                                 ; +0x23a, 0x5653a2\nBLX             R7                                                     ; +0x23c, 0x5653a4\nMOV             R0, R9                                                 ; +0x23e, 0x5653a6\nBL              sub_774008                                             ; +0x240, 0x5653a8\nADDS            R4, #1                                                 ; +0x244, 0x5653ac\nCMP             R4, #0x90                                              ; +0x246, 0x5653ae\nBNE.W           loc_56520A                                             ; +0x248, 0x5653b0\nB               loc_5653C0                                             ; +0x24c, 0x5653b4\nMOV             R0, R9                                                 ; +0x24e, 0x5653b6\nBL              sub_774008                                             ; +0x250, 0x5653b8\nBL              __cxa_end_cleanup                                      ; +0x254, 0x5653bc\nLDR             R3, [SP,#0x64+var_4C]                                  ; +0x258, 0x5653c0\nLDR             R2, [SP,#0x64+var_8]                                   ; +0x25a, 0x5653c2\nLDR             R3, [R3]                                               ; +0x25c, 0x5653c4\nCMP             R2, R3                                                 ; +0x25e, 0x5653c6\nBEQ             loc_5653CE                                             ; +0x260, 0x5653c8\nBLX             __stack_chk_fail                                       ; +0x262, 0x5653ca\nADD             SP, SP, #0x64 ; 'd'                                    ; +0x266, 0x5653ce\nVPOP            {D8}                                                   ; +0x268, 0x5653d0\nPOP.W           {R4-R11,PC}                                            ; +0x26c, 0x5653d4", "xrefs": ["CharacterColorPage::init @ 0x565caa"], "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"}