{"type": "func", "start": 5654908, "end": 5654952, "name": "CharacterColorPage::onClose", "pseudocode": "// \n// CharacterColorPage::onClose from 0x56497c to 0x5649a8 (44 bytes)\n// \n// 1 xrefs:\n// > CharacterColorPage::keyBackClicked @ 0x5649aa\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::onClose(CharacterColorPage *a1, cocos2d::CCObject *a2)\n{\n  CharacterColorDelegate *m_delegate; // r0\n\n  m_delegate = a1->m_delegate;\n  if ( m_delegate )\n    ((void (__fastcall *)(CharacterColorDelegate *, cocos2d::CCObject *))m_delegate->playerColorChanged)(m_delegate, a2);\n  a1->setKeypadEnabled(a1, 0);\n  a1->removeFromParentAndCleanup(a1, 1);\n}", "assembly": "; \n; CharacterColorPage::onClose from 0x56497c to 0x5649a8 (44 bytes)\n; \n; 1 xrefs:\n; > CharacterColorPage::keyBackClicked @ 0x5649aa\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            {R4,LR}                                                ; +0x0, 0x56497c\nMOV             R4, R0                                                 ; +0x2, 0x56497e\nLDR.W           R0, [R0,#0x20C]                                        ; +0x4, 0x564980\nCBZ             R0, loc_56498C                                         ; +0x8, 0x564984\nLDR             R3, [R0]                                               ; +0xa, 0x564986\nLDR             R3, [R3]                                               ; +0xc, 0x564988\nBLX             R3                                                     ; +0xe, 0x56498a\nLDR             R3, [R4]                                               ; +0x10, 0x56498c\nMOV             R0, R4                                                 ; +0x12, 0x56498e\nMOVS            R1, #0                                                 ; +0x14, 0x564990\nLDR.W           R3, [R3,#0x210]                                        ; +0x16, 0x564992\nBLX             R3                                                     ; +0x1a, 0x564996\nLDR             R3, [R4]                                               ; +0x1c, 0x564998\nMOV             R0, R4                                                 ; +0x1e, 0x56499a\nMOVS            R1, #1                                                 ; +0x20, 0x56499c\nPOP.W           {R4,LR}                                                ; +0x22, 0x56499e\nLDR.W           R3, [R3,#0x100]                                        ; +0x26, 0x5649a2\nBX              R3                                                     ; +0x2a, 0x5649a6", "xrefs": ["CharacterColorPage::keyBackClicked @ 0x5649aa"], "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"}