{"type": "func", "start": 6933204, "end": 6933448, "name": "CharacterColorPage::show", "pseudocode": "// \n// CharacterColorPage::show from 0x69cad4 to 0x69cbc8 (244 bytes)\n// \n// 0 xrefs:\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:56:20 +0000\n// \n\nint __fastcall CharacterColorPage::show(GameToolbox **this)\n{\n  float v3; // r8\n  const cocos2d::CCPoint *v4; // r0\n  int v5; // r9\n  void (__fastcall *v6)(int, _BYTE *); // r10\n  const cocos2d::CCPoint *v7; // r2\n  cocos2d::CCEaseElasticOut *v8; // r0\n  float v9; // r2\n  cocos2d::CCAction *v10; // r0\n  cocos2d::CCDirector *v11; // r0\n  cocos2d::CCScene *v12; // r6\n  cocos2d::CCScene *v13; // r0\n  int v14; // r0\n  unsigned __int8 v15; // r2\n  cocos2d::CCAction *v16; // r0\n  _BYTE v17[4]; // [sp+4h] [bp-14h] BYREF\n  float v18; // [sp+8h] [bp-10h]\n  _BYTE v19[8]; // [sp+Ch] [bp-Ch] BYREF\n\n  if ( *((_BYTE *)this + 468) )\n    return FLAlertLayer::show(this);\n  v3 = COERCE_FLOAT((*((int (__fastcall **)(GameToolbox **))*this + 144))(this));\n  v4 = (const cocos2d::CCPoint *)(*(int (__fastcall **)(_DWORD))(*(_DWORD *)*(this + 115) + 96))(*(this + 115));\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v17, v4);\n  v5 = (int)*(this + 115);\n  v6 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v5 + 92);\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v19, -160.0, v18);\n  v6(v5, v19);\n  v8 = (cocos2d::CCEaseElasticOut *)cocos2d::CCMoveTo::create((cocos2d::CCMoveTo *)0x3F000000, COERCE_FLOAT(v17), v7);\n  v10 = (cocos2d::CCAction *)cocos2d::CCEaseElasticOut::create(v8, (cocos2d::CCActionInterval *)0x3F19999A, v9);\n  v11 = (cocos2d::CCDirector *)cocos2d::CCNode::runAction(*(this + 115), v10);\n  v12 = *(cocos2d::CCScene **)(cocos2d::CCDirector::sharedDirector(v11) + 220);\n  v13 = *(this + 113);\n  if ( !v13 )\n  {\n    if ( (int)cocos2d::CCScene::getHighestChildZ(v12) <= 104 )\n      v14 = 105;\n    else\n      v14 = cocos2d::CCScene::getHighestChildZ(v12) + 1;\n    *(this + 116) = (GameToolbox *)v14;\n    v13 = v12;\n  }\n  if ( !*(this + 116) )\n    *(this + 116) = (GameToolbox *)(&dword_68 + 1);\n  (*(void (__fastcall **)(cocos2d::CCScene *, GameToolbox **, _DWORD))(*(_DWORD *)v13 + 232))(v13, this, *(this + 116));\n  (*((void (__fastcall **)(GameToolbox **, _DWORD))*this + 146))(this, 0);\n  v16 = (cocos2d::CCAction *)cocos2d::CCFadeTo::create((cocos2d::CCFadeTo *)0x3E0F5C29, v3, v15);\n  cocos2d::CCNode::runAction((cocos2d::CCNode *)this, v16);\n  return (*((int (__fastcall **)(GameToolbox **, int))*this + 43))(this, 1);\n}", "assembly": "; \n; CharacterColorPage::show from 0x69cad4 to 0x69cbc8 (244 bytes)\n; \n; 0 xrefs:\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:56:20 +0000\n; \nLDR             R3, =(__stack_chk_guard_ptr - 0x69CADE)                ; +0x0, 0x69cad4\nPUSH.W          {R4-R10,LR}                                            ; +0x2, 0x69cad6\nADD             R3, PC; __stack_chk_guard_ptr                          ; +0x6, 0x69cada\nLDR             R3, [R3]; __stack_chk_guard                            ; +0x8, 0x69cadc\nSUB             SP, SP, #0x18                                          ; +0xa, 0x69cade\nMOV             R4, R0                                                 ; +0xc, 0x69cae0\nLDR             R2, [R3]                                               ; +0xe, 0x69cae2\nMOV             R5, R3                                                 ; +0x10, 0x69cae4\nSTR             R2, [SP,#0x18+var_4]                                   ; +0x12, 0x69cae6\nLDRB.W          R2, [R0,#0x1D4]                                        ; +0x14, 0x69cae8\nCBZ             R2, loc_69CAF4                                         ; +0x18, 0x69caec\nBL              _ZN12FLAlertLayer4showEv; FLAlertLayer::show(void)     ; +0x1a, 0x69caee\nB               loc_69CBB6                                             ; +0x1e, 0x69caf2\nLDR             R3, [R0]                                               ; +0x20, 0x69caf4\nADD             R6, SP, #0x18+var_14                                   ; +0x22, 0x69caf6\nADD             R7, SP, #0x18+var_C                                    ; +0x24, 0x69caf8\nLDR.W           R3, [R3,#0x240]                                        ; +0x26, 0x69cafa\nBLX             R3                                                     ; +0x2a, 0x69cafe\nMOV             R8, R0                                                 ; +0x2c, 0x69cb00\nLDR.W           R0, [R4,#0x1CC]                                        ; +0x2e, 0x69cb02\nLDR             R3, [R0]                                               ; +0x32, 0x69cb06\nLDR             R3, [R3,#0x60]                                         ; +0x34, 0x69cb08\nBLX             R3                                                     ; +0x36, 0x69cb0a\nMOV             R1, R0; cocos2d::CCPoint *                             ; +0x38, 0x69cb0c\nMOV             R0, R6; this                                           ; +0x3a, 0x69cb0e\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x3c, 0x69cb10\nLDR.W           R9, [R4,#0x1CC]                                        ; +0x40, 0x69cb14\nLDR             R2, [SP,#0x18+var_10]; float                           ; +0x44, 0x69cb18\nMOV             R0, R7; this                                           ; +0x46, 0x69cb1a\nLDR             R1, flt_69CBC8; float                                  ; +0x48, 0x69cb1c\nLDR.W           R3, [R9]                                               ; +0x4a, 0x69cb1e\nLDR.W           R10, [R3,#0x5C]                                        ; +0x4e, 0x69cb22\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x52, 0x69cb26\nMOV             R0, R9                                                 ; +0x56, 0x69cb2a\nMOV             R1, R7                                                 ; +0x58, 0x69cb2c\nBLX             R10                                                    ; +0x5a, 0x69cb2e\nMOV             R1, R6; float                                          ; +0x5c, 0x69cb30\nMOV.W           R0, #0x3F000000; this                                  ; +0x5e, 0x69cb32\nBL              _ZN7cocos2d8CCMoveTo6createEfRKNS_7CCPointE; cocos2d::CCMoveTo::create(float,cocos2d::CCPoint const&) ; +0x62, 0x69cb36\nLDR             R1, =0x3F19999A; cocos2d::CCActionInterval *           ; +0x66, 0x69cb3a\nBL              _ZN7cocos2d16CCEaseElasticOut6createEPNS_16CCActionIntervalEf; cocos2d::CCEaseElasticOut::create(cocos2d::CCActionInterval *,float) ; +0x68, 0x69cb3c\nMOV             R1, R0; cocos2d::CCAction *                            ; +0x6c, 0x69cb40\nLDR.W           R0, [R4,#0x1CC]; this                                  ; +0x6e, 0x69cb42\nBL              _ZN7cocos2d6CCNode9runActionEPNS_8CCActionE; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x72, 0x69cb46\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x76, 0x69cb4a\nLDR.W           R6, [R0,#0xDC]                                         ; +0x7a, 0x69cb4e\nLDR.W           R0, [R4,#0x1C4]                                        ; +0x7e, 0x69cb52\nCBNZ            R0, loc_69CB74                                         ; +0x82, 0x69cb56\nMOV             R0, R6; this                                           ; +0x84, 0x69cb58\nBL              _ZN7cocos2d7CCScene16getHighestChildZEv; cocos2d::CCScene::getHighestChildZ(void) ; +0x86, 0x69cb5a\nCMP             R0, #0x68 ; 'h'                                        ; +0x8a, 0x69cb5e\nBLE             loc_69CB6C                                             ; +0x8c, 0x69cb60\nMOV             R0, R6; this                                           ; +0x8e, 0x69cb62\nBL              _ZN7cocos2d7CCScene16getHighestChildZEv; cocos2d::CCScene::getHighestChildZ(void) ; +0x90, 0x69cb64\nADDS            R0, #1                                                 ; +0x94, 0x69cb68\nB               loc_69CB6E                                             ; +0x96, 0x69cb6a\nMOVS            R0, #0x69 ; 'i'                                        ; +0x98, 0x69cb6c\nSTR.W           R0, [R4,#0x1D0]                                        ; +0x9a, 0x69cb6e\nMOV             R0, R6                                                 ; +0x9e, 0x69cb72\nLDR.W           R3, [R4,#0x1D0]                                        ; +0xa0, 0x69cb74\nCBNZ            R3, loc_69CB80                                         ; +0xa4, 0x69cb78\nMOVS            R3, #0x69 ; 'i'                                        ; +0xa6, 0x69cb7a\nSTR.W           R3, [R4,#0x1D0]                                        ; +0xa8, 0x69cb7c\nLDR             R3, [R0]                                               ; +0xac, 0x69cb80\nMOV             R1, R4                                                 ; +0xae, 0x69cb82\nLDR.W           R2, [R4,#0x1D0]                                        ; +0xb0, 0x69cb84\nLDR.W           R3, [R3,#0xE8]                                         ; +0xb4, 0x69cb88\nBLX             R3                                                     ; +0xb8, 0x69cb8c\nLDR             R3, [R4]                                               ; +0xba, 0x69cb8e\nMOV             R0, R4                                                 ; +0xbc, 0x69cb90\nMOVS            R1, #0                                                 ; +0xbe, 0x69cb92\nLDR.W           R3, [R3,#0x248]                                        ; +0xc0, 0x69cb94\nBLX             R3                                                     ; +0xc4, 0x69cb98\nMOV             R1, R8; float                                          ; +0xc6, 0x69cb9a\nLDR             R0, =0x3E0F5C29; this                                  ; +0xc8, 0x69cb9c\nBL              _ZN7cocos2d8CCFadeTo6createEfh; cocos2d::CCFadeTo::create(float,uchar) ; +0xca, 0x69cb9e\nMOV             R1, R0; cocos2d::CCAction *                            ; +0xce, 0x69cba2\nMOV             R0, R4; this                                           ; +0xd0, 0x69cba4\nBL              _ZN7cocos2d6CCNode9runActionEPNS_8CCActionE; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0xd2, 0x69cba6\nLDR             R3, [R4]                                               ; +0xd6, 0x69cbaa\nMOV             R0, R4                                                 ; +0xd8, 0x69cbac\nMOVS            R1, #1                                                 ; +0xda, 0x69cbae\nLDR.W           R3, [R3,#0xAC]                                         ; +0xdc, 0x69cbb0\nBLX             R3                                                     ; +0xe0, 0x69cbb4\nLDR             R2, [SP,#0x18+var_4]                                   ; +0xe2, 0x69cbb6\nLDR             R3, [R5]                                               ; +0xe4, 0x69cbb8\nCMP             R2, R3                                                 ; +0xe6, 0x69cbba\nBEQ             loc_69CBC2                                             ; +0xe8, 0x69cbbc\nBLX             __stack_chk_fail                                       ; +0xea, 0x69cbbe\nADD             SP, SP, #0x18                                          ; +0xee, 0x69cbc2\nPOP.W           {R4-R10,PC}                                            ; +0xf0, 0x69cbc4", "xrefs": [], "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"}