{"type": "func", "start": 3132012, "end": 3132182, "name": "CCLightStrip::init", "pseudocode": "// \n// CCLightStrip::init from 0x2fca6c to 0x2fcb16 (170 bytes)\n// \n// 1 xrefs:\n// > CCLightStrip::create @ 0x2fcb76\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\nbool CCLightStrip::init(CCLightStrip *a1, float a2, float a3, float a4, float a5, float a6)\n{\n  CCLightStrip_vtbl *v8; // r3\n  cocos2d::CCSequence *v9; // r8\n  cocos2d::CCShow *v10; // r7\n  cocos2d::CCActionInterval *v11; // r0\n  cocos2d::CCEaseOut *v12; // r6\n  cocos2d::CCActionInterval *v13; // r0\n  cocos2d::CCEaseOut *v14; // r0\n  int v15; // r0\n  cocos2d::CCAction *v16; // r5\n  cocos2d::CCDirector *v17; // r0\n  cocos2d::CCActionManager *v18; // r0\n  float savedregs; // [sp+0h] [bp+0h]\n  float savedregsa; // [sp+0h] [bp+0h]\n\n  a1->m_toWidth = a3;\n  a1->m_objectWidth = a2;\n  a1->m_toHeight = a4;\n  a1->m_height = 1.0;\n  a1->m_width = a2;\n  a1->m_opacity = 255.0;\n  v8 = a1->__vftable;\n  a1->m_duration = a5;\n  v8->setVisible(a1, 0);\n  v9 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(a6);\n  v10 = cocos2d::CCShow::create();\n  v11 = (cocos2d::CCActionInterval *)cocos2d::CCActionTween::create(\n                                       (cocos2d::CCActionTween *)LODWORD(a5),\n                                       COERCE_FLOAT(\"height\"),\n                                       (const char *)LODWORD(a1->m_height),\n                                       a4,\n                                       savedregs);\n  v12 = cocos2d::CCEaseOut::create(v11, 2.0);\n  v13 = (cocos2d::CCActionInterval *)cocos2d::CCActionTween::create(\n                                       (cocos2d::CCActionTween *)LODWORD(a5),\n                                       COERCE_FLOAT(\"width\"),\n                                       (const char *)LODWORD(a1->m_width),\n                                       a1->m_toWidth,\n                                       savedregsa);\n  v14 = cocos2d::CCEaseOut::create(v13, 2.0);\n  v15 = cocos2d::CCSpawn::create((cocos2d::CCSpawn *)v12, v14, 0);\n  v16 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v9, v10, v15, 0);\n  v17 = cocos2d::CCDirector::sharedDirector();\n  v18 = v17->getActionManager(v17);\n  cocos2d::CCActionManager::addAction(v18, v16, a1, 0);\n  return 1;\n}", "assembly": "; \n; CCLightStrip::init from 0x2fca6c to 0x2fcb16 (170 bytes)\n; \n; 1 xrefs:\n; > CCLightStrip::create @ 0x2fcb76\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-R8,LR}; float                                      ; +0x0, 0x2fca6c\nMOV             R4, R0                                                 ; +0x4, 0x2fca70\nSTR.W           R2, [R0,#0x10C]                                        ; +0x6, 0x2fca72\nMOV             R6, R3                                                 ; +0xa, 0x2fca76\nSTR.W           R1, [R0,#0x108]                                        ; +0xc, 0x2fca78\nSTR.W           R3, [R4,#0x110]                                        ; +0x10, 0x2fca7c\nMOV.W           R3, #0x3F800000                                        ; +0x14, 0x2fca80\nSTR.W           R3, [R0,#0x124]                                        ; +0x18, 0x2fca84\nLDR             R3, =0x437F0000                                        ; +0x1c, 0x2fca88\nLDR             R5, [SP,#arg_0]                                        ; +0x1e, 0x2fca8a\nSTR.W           R1, [R0,#0x120]                                        ; +0x20, 0x2fca8c\nMOVS            R1, #0                                                 ; +0x24, 0x2fca90\nSTR.W           R3, [R0,#0x11C]                                        ; +0x26, 0x2fca92\nLDR             R3, [R0]                                               ; +0x2a, 0x2fca96\nSTR.W           R5, [R0,#0x114]                                        ; +0x2c, 0x2fca98\nLDR.W           R3, [R3,#0xA4]                                         ; +0x30, 0x2fca9c\nBLX             R3                                                     ; +0x34, 0x2fcaa0\nLDR             R0, [SP,#arg_4]; this                                  ; +0x36, 0x2fcaa2\nBL              _ZN7cocos2d11CCDelayTime6createEf; cocos2d::CCDelayTime::create(float) ; +0x38, 0x2fcaa4\nMOV             R8, R0                                                 ; +0x3c, 0x2fcaa8\nBL              _ZN7cocos2d6CCShow6createEv; cocos2d::CCShow::create(void) ; +0x3e, 0x2fcaaa\nLDR             R1, =(aHeight - 0x2FCABA); \"height\"                    ; +0x42, 0x2fcaae\nMOV             R3, R6; float                                          ; +0x44, 0x2fcab0\nLDR.W           R2, [R4,#0x124]; char *                                ; +0x46, 0x2fcab2\nADD             R1, PC; \"height\"                                       ; +0x4a, 0x2fcab6\nMOV             R7, R0                                                 ; +0x4c, 0x2fcab8\nMOV             R0, R5; this                                           ; +0x4e, 0x2fcaba\nBL              _ZN7cocos2d13CCActionTween6createEfPKcff; cocos2d::CCActionTween::create(float,char const*,float,float) ; +0x50, 0x2fcabc\nMOV.W           R1, #0x40000000; cocos2d::CCActionInterval *           ; +0x54, 0x2fcac0\nBL              _ZN7cocos2d9CCEaseOut6createEPNS_16CCActionIntervalEf; cocos2d::CCEaseOut::create(cocos2d::CCActionInterval *,float) ; +0x58, 0x2fcac4\nLDR             R1, =(aWidth - 0x2FCAD6); \"width\"                      ; +0x5c, 0x2fcac8\nLDR.W           R3, [R4,#0x10C]; float                                 ; +0x5e, 0x2fcaca\nLDR.W           R2, [R4,#0x120]; char *                                ; +0x62, 0x2fcace\nADD             R1, PC; \"width\"                                        ; +0x66, 0x2fcad2\nMOV             R6, R0                                                 ; +0x68, 0x2fcad4\nMOV             R0, R5; this                                           ; +0x6a, 0x2fcad6\nBL              _ZN7cocos2d13CCActionTween6createEfPKcff; cocos2d::CCActionTween::create(float,char const*,float,float) ; +0x6c, 0x2fcad8\nMOV.W           R1, #0x40000000; cocos2d::CCActionInterval *           ; +0x70, 0x2fcadc\nBL              _ZN7cocos2d9CCEaseOut6createEPNS_16CCActionIntervalEf; cocos2d::CCEaseOut::create(cocos2d::CCActionInterval *,float) ; +0x74, 0x2fcae0\nMOVS            R2, #0                                                 ; +0x78, 0x2fcae4\nMOV             R1, R0; cocos2d::CCFiniteTimeAction *                  ; +0x7a, 0x2fcae6\nMOV             R0, R6; this                                           ; +0x7c, 0x2fcae8\nBL              _ZN7cocos2d7CCSpawn6createEPNS_18CCFiniteTimeActionEz; cocos2d::CCSpawn::create(cocos2d::CCFiniteTimeAction *,...) ; +0x7e, 0x2fcaea\nMOV             R1, R7; cocos2d::CCFiniteTimeAction *                  ; +0x82, 0x2fcaee\nMOVS            R3, #0                                                 ; +0x84, 0x2fcaf0\nMOV             R2, R0                                                 ; +0x86, 0x2fcaf2\nMOV             R0, R8; this                                           ; +0x88, 0x2fcaf4\nBL              _ZN7cocos2d10CCSequence6createEPNS_18CCFiniteTimeActionEz; cocos2d::CCSequence::create(cocos2d::CCFiniteTimeAction *,...) ; +0x8a, 0x2fcaf6\nMOV             R5, R0                                                 ; +0x8e, 0x2fcafa\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x90, 0x2fcafc\nLDR             R3, [R0]                                               ; +0x94, 0x2fcb00\nLDR             R3, [R3,#0x48]                                         ; +0x96, 0x2fcb02\nBLX             R3                                                     ; +0x98, 0x2fcb04\nMOV             R1, R5; cocos2d::CCAction *                            ; +0x9a, 0x2fcb06\nMOV             R2, R4; cocos2d::CCNode *                              ; +0x9c, 0x2fcb08\nMOVS            R3, #0; bool                                           ; +0x9e, 0x2fcb0a\nBL              _ZN7cocos2d15CCActionManager9addActionEPNS_8CCActionEPNS_6CCNodeEb; cocos2d::CCActionManager::addAction(cocos2d::CCAction *,cocos2d::CCNode *,bool) ; +0xa0, 0x2fcb0c\nMOVS            R0, #1                                                 ; +0xa4, 0x2fcb10\nPOP.W           {R4-R8,PC}                                             ; +0xa6, 0x2fcb12", "xrefs": ["CCLightStrip::create @ 0x2fcb76"], "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"}