{"type": "func", "start": 5069876, "end": 5069968, "name": "DialogLayer::fadeInTextFinished", "pseudocode": "// \n// DialogLayer::fadeInTextFinished from 0x4d5c34 to 0x4d5c90 (92 bytes)\n// \n// 1 xrefs:\n// > `non-virtual thunk to'DialogLayer::fadeInTextFinished @ 0x4d5c98\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 DialogLayer::fadeInTextFinished(DialogLayer *a1, TextArea *a2)\n{\n  cocos2d::CCArray *m_dialogObjects; // r0\n  _BOOL4 v4; // r0\n  cocos2d::CCSprite *m_navButtonSprite; // r4\n  float v6; // r0\n  cocos2d::CCFadeIn *v7; // r1\n\n  a1->m_animating = 0;\n  cocos2d::CCNode::stopAllActions(a1->m_navButtonSprite);\n  a1->m_navButtonSprite->setOpacity(a1->m_navButtonSprite, 0);\n  m_dialogObjects = a1->m_dialogObjects;\n  if ( m_dialogObjects )\n    v4 = cocos2d::CCArray::count(m_dialogObjects) == 0;\n  else\n    v4 = 1;\n  m_navButtonSprite = a1->m_navButtonSprite;\n  if ( v4 )\n    v6 = 0.5;\n  else\n    v6 = 0.3;\n  v7 = cocos2d::CCFadeIn::create(v6);\n  cocos2d::CCNode::runAction(m_navButtonSprite, v7);\n}", "assembly": "; \n; DialogLayer::fadeInTextFinished from 0x4d5c34 to 0x4d5c90 (92 bytes)\n; \n; 1 xrefs:\n; > `non-virtual thunk to'DialogLayer::fadeInTextFinished @ 0x4d5c98\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            {R3-R5,LR}                                             ; +0x0, 0x4d5c34\nMOV             R4, R0                                                 ; +0x2, 0x4d5c36\nMOVS            R5, #0                                                 ; +0x4, 0x4d5c38\nSTRB.W          R5, [R0,#0x1DC]                                        ; +0x6, 0x4d5c3a\nLDR.W           R0, [R0,#0x1D8]; this                                  ; +0xa, 0x4d5c3e\nBL              _ZN7cocos2d6CCNode14stopAllActionsEv; cocos2d::CCNode::stopAllActions(void) ; +0xe, 0x4d5c42\nLDR.W           R0, [R4,#0x1D8]                                        ; +0x12, 0x4d5c46\nMOV             R1, R5                                                 ; +0x16, 0x4d5c4a\nLDR             R3, [R0]                                               ; +0x18, 0x4d5c4c\nLDR.W           R3, [R3,#0x1C0]                                        ; +0x1a, 0x4d5c4e\nBLX             R3                                                     ; +0x1e, 0x4d5c52\nLDR.W           R0, [R4,#0x1D0]; this                                  ; +0x20, 0x4d5c54\nCBZ             R0, loc_4D5C66                                         ; +0x24, 0x4d5c58\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x26, 0x4d5c5a\nCLZ.W           R0, R0                                                 ; +0x2a, 0x4d5c5e\nLSRS            R0, R0, #5                                             ; +0x2e, 0x4d5c62\nB               loc_4D5C68                                             ; +0x30, 0x4d5c64\nMOVS            R0, #1                                                 ; +0x32, 0x4d5c66\nVMOV.F32        S14, #0.5                                              ; +0x34, 0x4d5c68\nCMP             R0, #0                                                 ; +0x38, 0x4d5c6c\nVLDR            S15, =0.3                                              ; +0x3a, 0x4d5c6e\nLDR.W           R4, [R4,#0x1D8]                                        ; +0x3e, 0x4d5c72\nITE EQ                                                                 ; +0x42, 0x4d5c76\nVMOVEQ          R0, S15                                                ; +0x44, 0x4d5c78\nVMOVNE          R0, S14; this                                          ; +0x48, 0x4d5c7c\nBL              _ZN7cocos2d8CCFadeIn6createEf; cocos2d::CCFadeIn::create(float) ; +0x4c, 0x4d5c80\nMOV             R1, R0; cocos2d::CCAction *                            ; +0x50, 0x4d5c84\nMOV             R0, R4; this                                           ; +0x52, 0x4d5c86\nPOP.W           {R3-R5,LR}                                             ; +0x54, 0x4d5c88\nB.W             _ZN7cocos2d6CCNode9runActionEPNS_8CCActionE; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x58, 0x4d5c8c", "xrefs": ["`non-virtual thunk to'DialogLayer::fadeInTextFinished @ 0x4d5c98"], "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"}