{"type": "func", "start": 4692240, "end": 4692328, "name": "GJBaseGameLayer::playFlashEffect", "pseudocode": "// \n// GJBaseGameLayer::playFlashEffect from 0x479910 to 0x479968 (88 bytes)\n// \n// 0 xrefs:\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 GJBaseGameLayer::playFlashEffect(GJBaseGameLayer *a1, float a2, int a3, float a4)\n{\n  cocos2d::CCHide *v7; // r4\n  cocos2d::CCSequence *v8; // r0\n  cocos2d::CCAction *v9; // r4\n\n  a1->m_unk31f8 = a4;\n  a1->m_flashNode->setVisible(a1->m_flashNode, 1);\n  v7 = cocos2d::CCHide::create();\n  if ( a3 <= 1 )\n    v8 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(a2);\n  else\n    v8 = (cocos2d::CCSequence *)cocos2d::CCBlink::create(a2, a3 - 1);\n  v9 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v8, v7, 0);\n  v9->setTag(v9, 15);\n  cocos2d::CCNode::runAction(a1->m_flashNode, v9);\n}", "assembly": "; \n; GJBaseGameLayer::playFlashEffect from 0x479910 to 0x479968 (88 bytes)\n; \n; 0 xrefs:\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-R7,LR}                                             ; +0x0, 0x479910\nMOV             R6, R1                                                 ; +0x2, 0x479912\nADD.W           R1, R0, #0x2AC0                                        ; +0x4, 0x479914\nMOV             R5, R0                                                 ; +0x8, 0x479918\nMOV             R7, R2                                                 ; +0xa, 0x47991a\nSTR             R3, [R1,#0xC]                                          ; +0xc, 0x47991c\nMOVW            R3, #0x2AC8                                            ; +0xe, 0x47991e\nLDR             R0, [R0,R3]                                            ; +0x12, 0x479922\nMOVS            R1, #1                                                 ; +0x14, 0x479924\nLDR             R3, [R0]                                               ; +0x16, 0x479926\nLDR.W           R3, [R3,#0xA4]                                         ; +0x18, 0x479928\nBLX             R3                                                     ; +0x1c, 0x47992c\nBL              _ZN7cocos2d6CCHide6createEv; cocos2d::CCHide::create(void) ; +0x1e, 0x47992e\nCMP             R7, #1                                                 ; +0x22, 0x479932\nMOV             R4, R0                                                 ; +0x24, 0x479934\nMOV             R0, R6; this                                           ; +0x26, 0x479936\nBLE             loc_479942                                             ; +0x28, 0x479938\nSUBS            R1, R7, #1; float                                      ; +0x2a, 0x47993a\nBL              _ZN7cocos2d7CCBlink6createEfj; cocos2d::CCBlink::create(float,uint) ; +0x2c, 0x47993c\nB               loc_479946                                             ; +0x30, 0x479940\nBL              _ZN7cocos2d11CCDelayTime6createEf; cocos2d::CCDelayTime::create(float) ; +0x32, 0x479942\nMOV             R1, R4; cocos2d::CCFiniteTimeAction *                  ; +0x36, 0x479946\nMOVS            R2, #0                                                 ; +0x38, 0x479948\nBL              _ZN7cocos2d10CCSequence6createEPNS_18CCFiniteTimeActionEz; cocos2d::CCSequence::create(cocos2d::CCFiniteTimeAction *,...) ; +0x3a, 0x47994a\nMOVS            R1, #0xF                                               ; +0x3e, 0x47994e\nLDR             R3, [R0]                                               ; +0x40, 0x479950\nMOV             R4, R0                                                 ; +0x42, 0x479952\nLDR             R3, [R3,#0x24]                                         ; +0x44, 0x479954\nBLX             R3                                                     ; +0x46, 0x479956\nMOVW            R3, #0x2AC8                                            ; +0x48, 0x479958\nLDR             R0, [R5,R3]; this                                      ; +0x4c, 0x47995c\nMOV             R1, R4; cocos2d::CCAction *                            ; +0x4e, 0x47995e\nPOP.W           {R3-R7,LR}                                             ; +0x50, 0x479960\nB.W             _ZN7cocos2d6CCNode9runActionEPNS_8CCActionE; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x54, 0x479964", "xrefs": [], "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"}