{"type": "func", "start": 4087664, "end": 4087834, "name": "CCLightStrip::init", "pseudocode": "// \n// CCLightStrip::init from 0x3e5f70 to 0x3e601a (170 bytes)\n// \n// 1 xrefs:\n// > CCLightStrip::create @ 0x3e607a\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:47:04 +0000\n// \n\nint __fastcall CCLightStrip::init(\n        CCLightStrip *this,\n        float a2,\n        float a3,\n        float a4,\n        cocos2d::CCActionTween *a5,\n        cocos2d::CCDelayTime *a6)\n{\n  float v8; // r3\n  float v9; // r1\n  cocos2d::CCShow *v10; // r8\n  cocos2d::CCFiniteTimeAction *v11; // r7\n  cocos2d::CCEaseOut *v12; // r0\n  float v13; // r2\n  cocos2d::CCSpawn *v14; // r6\n  cocos2d::CCEaseOut *v15; // r0\n  float v16; // r2\n  cocos2d::CCFiniteTimeAction *v17; // r0\n  int v18; // r0\n  cocos2d::CCDirector *v19; // r5\n  int v20; // r0\n  cocos2d::CCActionManager *v21; // r0\n  float savedregs; // [sp+0h] [bp+0h]\n  float savedregsa; // [sp+0h] [bp+0h]\n\n  *((float *)this + 67) = a3;\n  *((float *)this + 66) = a2;\n  *((float *)this + 68) = a4;\n  *((_DWORD *)this + 73) = 1065353216;\n  *((float *)this + 72) = a2;\n  *((_DWORD *)this + 71) = 1132396544;\n  v8 = *(float *)this;\n  *((float *)this + 69) = *(float *)&a5;\n  (*(void (__fastcall **)(CCLightStrip *, _DWORD))(LODWORD(v8) + 172))(this, 0);\n  v10 = (cocos2d::CCShow *)cocos2d::CCDelayTime::create(a6, v9);\n  v11 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCShow::create(v10);\n  v12 = (cocos2d::CCEaseOut *)cocos2d::CCActionTween::create(\n                                a5,\n                                COERCE_FLOAT(\"height\"),\n                                *((const char **)this + 73),\n                                a4,\n                                savedregs);\n  v14 = (cocos2d::CCSpawn *)cocos2d::CCEaseOut::create(v12, (cocos2d::CCActionInterval *)0x40000000, v13);\n  v15 = (cocos2d::CCEaseOut *)cocos2d::CCActionTween::create(\n                                a5,\n                                COERCE_FLOAT(\"width\"),\n                                *((const char **)this + 72),\n                                *((float *)this + 67),\n                                savedregsa);\n  v17 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCEaseOut::create(v15, (cocos2d::CCActionInterval *)0x40000000, v16);\n  v18 = cocos2d::CCSpawn::create(v14, v17, 0);\n  v19 = (cocos2d::CCDirector *)cocos2d::CCSequence::create(v10, v11, v18, 0);\n  v20 = cocos2d::CCDirector::sharedDirector(v19);\n  v21 = (cocos2d::CCActionManager *)(*(int (__fastcall **)(int))(*(_DWORD *)v20 + 72))(v20);\n  cocos2d::CCActionManager::addAction(v21, v19, this, 0);\n  return 1;\n}", "assembly": "; \n; CCLightStrip::init from 0x3e5f70 to 0x3e601a (170 bytes)\n; \n; 1 xrefs:\n; > CCLightStrip::create @ 0x3e607a\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:47:04 +0000\n; \nPUSH.W          {R4-R8,LR}; float                                      ; +0x0, 0x3e5f70\nMOV             R4, R0                                                 ; +0x4, 0x3e5f74\nSTR.W           R2, [R0,#0x10C]                                        ; +0x6, 0x3e5f76\nMOV             R6, R3                                                 ; +0xa, 0x3e5f7a\nSTR.W           R1, [R0,#0x108]                                        ; +0xc, 0x3e5f7c\nSTR.W           R3, [R4,#0x110]                                        ; +0x10, 0x3e5f80\nMOV.W           R3, #0x3F800000                                        ; +0x14, 0x3e5f84\nSTR.W           R3, [R0,#0x124]                                        ; +0x18, 0x3e5f88\nLDR             R3, =0x437F0000                                        ; +0x1c, 0x3e5f8c\nLDR             R5, [SP,#arg_0]                                        ; +0x1e, 0x3e5f8e\nSTR.W           R1, [R0,#0x120]                                        ; +0x20, 0x3e5f90\nMOVS            R1, #0                                                 ; +0x24, 0x3e5f94\nSTR.W           R3, [R0,#0x11C]                                        ; +0x26, 0x3e5f96\nLDR             R3, [R0]                                               ; +0x2a, 0x3e5f9a\nSTR.W           R5, [R0,#0x114]                                        ; +0x2c, 0x3e5f9c\nLDR.W           R3, [R3,#0xAC]                                         ; +0x30, 0x3e5fa0\nBLX             R3                                                     ; +0x34, 0x3e5fa4\nLDR             R0, [SP,#arg_4]; this                                  ; +0x36, 0x3e5fa6\nBL              _ZN7cocos2d11CCDelayTime6createEf; cocos2d::CCDelayTime::create(float) ; +0x38, 0x3e5fa8\nMOV             R8, R0                                                 ; +0x3c, 0x3e5fac\nBL              _ZN7cocos2d6CCShow6createEv; cocos2d::CCShow::create(void) ; +0x3e, 0x3e5fae\nLDR             R1, =(aHeight - 0x3E5FBE); \"height\"                    ; +0x42, 0x3e5fb2\nMOV             R3, R6; float                                          ; +0x44, 0x3e5fb4\nLDR.W           R2, [R4,#0x124]; char *                                ; +0x46, 0x3e5fb6\nADD             R1, PC; \"height\"                                       ; +0x4a, 0x3e5fba\nMOV             R7, R0                                                 ; +0x4c, 0x3e5fbc\nMOV             R0, R5; this                                           ; +0x4e, 0x3e5fbe\nBL              _ZN7cocos2d13CCActionTween6createEfPKcff; cocos2d::CCActionTween::create(float,char const*,float,float) ; +0x50, 0x3e5fc0\nMOV.W           R1, #0x40000000; cocos2d::CCActionInterval *           ; +0x54, 0x3e5fc4\nBL              _ZN7cocos2d9CCEaseOut6createEPNS_16CCActionIntervalEf; cocos2d::CCEaseOut::create(cocos2d::CCActionInterval *,float) ; +0x58, 0x3e5fc8\nLDR             R1, =(aWidth - 0x3E5FDA); \"width\"                      ; +0x5c, 0x3e5fcc\nLDR.W           R3, [R4,#0x10C]; float                                 ; +0x5e, 0x3e5fce\nLDR.W           R2, [R4,#0x120]; char *                                ; +0x62, 0x3e5fd2\nADD             R1, PC; \"width\"                                        ; +0x66, 0x3e5fd6\nMOV             R6, R0                                                 ; +0x68, 0x3e5fd8\nMOV             R0, R5; this                                           ; +0x6a, 0x3e5fda\nBL              _ZN7cocos2d13CCActionTween6createEfPKcff; cocos2d::CCActionTween::create(float,char const*,float,float) ; +0x6c, 0x3e5fdc\nMOV.W           R1, #0x40000000; cocos2d::CCActionInterval *           ; +0x70, 0x3e5fe0\nBL              _ZN7cocos2d9CCEaseOut6createEPNS_16CCActionIntervalEf; cocos2d::CCEaseOut::create(cocos2d::CCActionInterval *,float) ; +0x74, 0x3e5fe4\nMOVS            R2, #0                                                 ; +0x78, 0x3e5fe8\nMOV             R1, R0; cocos2d::CCFiniteTimeAction *                  ; +0x7a, 0x3e5fea\nMOV             R0, R6; this                                           ; +0x7c, 0x3e5fec\nBL              _ZN7cocos2d7CCSpawn6createEPNS_18CCFiniteTimeActionEz; cocos2d::CCSpawn::create(cocos2d::CCFiniteTimeAction *,...) ; +0x7e, 0x3e5fee\nMOV             R1, R7; cocos2d::CCFiniteTimeAction *                  ; +0x82, 0x3e5ff2\nMOVS            R3, #0                                                 ; +0x84, 0x3e5ff4\nMOV             R2, R0                                                 ; +0x86, 0x3e5ff6\nMOV             R0, R8; this                                           ; +0x88, 0x3e5ff8\nBL              _ZN7cocos2d10CCSequence6createEPNS_18CCFiniteTimeActionEz; cocos2d::CCSequence::create(cocos2d::CCFiniteTimeAction *,...) ; +0x8a, 0x3e5ffa\nMOV             R5, R0                                                 ; +0x8e, 0x3e5ffe\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x90, 0x3e6000\nLDR             R3, [R0]                                               ; +0x94, 0x3e6004\nLDR             R3, [R3,#0x48]                                         ; +0x96, 0x3e6006\nBLX             R3                                                     ; +0x98, 0x3e6008\nMOV             R1, R5; cocos2d::CCAction *                            ; +0x9a, 0x3e600a\nMOV             R2, R4; cocos2d::CCNode *                              ; +0x9c, 0x3e600c\nMOVS            R3, #0; bool                                           ; +0x9e, 0x3e600e\nBL              _ZN7cocos2d15CCActionManager9addActionEPNS_8CCActionEPNS_6CCNodeEb; cocos2d::CCActionManager::addAction(cocos2d::CCAction *,cocos2d::CCNode *,bool) ; +0xa0, 0x3e6010\nMOVS            R0, #1                                                 ; +0xa4, 0x3e6014\nPOP.W           {R4-R8,PC}                                             ; +0xa6, 0x3e6016", "xrefs": ["CCLightStrip::create @ 0x3e607a"], "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"}