{"type": "func", "start": 4295169348, "end": 4295169628, "name": "CCLightStrip::init", "pseudocode": "// \n// CCLightStrip::init from 0x100031544 to 0x10003165c (280 bytes)\n// \n// 1 xrefs:\n// > CCLightStrip::create @ 0x100031190\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 __fastcall CCLightStrip::init(CCLightStrip *a1, float a2, float a3, float a4, float a5, float a6)\n{\n  cocos2d::CCDelayTime *v10; // x20\n  cocos2d::CCActionTween *v11; // x0\n  cocos2d::CCEaseOut *v12; // x22\n  cocos2d::CCActionTween *v13; // x0\n  cocos2d::CCAction *v14; // x20\n  cocos2d::CCDirector *v15; // x0\n  cocos2d::CCActionManager *v16; // x0\n\n  a1->m_objectWidth = a2;\n  a1->m_toWidth = a3;\n  a1->m_toHeight = a4;\n  a1->m_duration = a5;\n  a1->m_width = a2;\n  a1->m_height = 1.0;\n  a1->m_opacity = 255.0;\n  ((void (__fastcall *)(CCLightStrip *, _QWORD))a1->setVisible)(a1, 0);\n  v10 = cocos2d::CCDelayTime::create(a6);\n  cocos2d::CCShow::create();\n  v11 = cocos2d::CCActionTween::create_1(a5, \"height\", a1->m_height, a4);\n  v12 = cocos2d::CCEaseOut::create(v11, 2.0);\n  v13 = cocos2d::CCActionTween::create_1(a5, \"width\", a1->m_width, a1->m_toWidth);\n  cocos2d::CCEaseOut::create(v13, 2.0);\n  sub_10018ABE0(v12);\n  v14 = (cocos2d::CCAction *)sub_10018A494(v10);\n  v15 = cocos2d::CCDirector::sharedDirector();\n  v16 = (cocos2d::CCActionManager *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v15->getActionManager)(v15);\n  cocos2d::CCActionManager::addAction(v16, v14, a1, 0);\n  return 1;\n}", "assembly": "; \n; CCLightStrip::init from 0x100031544 to 0x10003165c (280 bytes)\n; \n; 1 xrefs:\n; > CCLightStrip::create @ 0x100031190\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\nSUB             SP, SP, #0x70                                          ; +0x0, 0x100031544\nSTP             D11, D10, [SP,#0x60+var_40]                            ; +0x4, 0x100031548\nSTP             D9, D8, [SP,#0x60+var_30]                              ; +0x8, 0x10003154c\nSTP             X22, X21, [SP,#0x60+var_20]                            ; +0xc, 0x100031550\nSTP             X20, X19, [SP,#0x60+var_10]                            ; +0x10, 0x100031554\nSTP             X29, X30, [SP,#0x60+var_s0]                            ; +0x14, 0x100031558\nADD             X29, SP, #0x60                                         ; +0x18, 0x10003155c\nFMOV            S8, S4                                                 ; +0x1c, 0x100031560\nFMOV            S9, S3                                                 ; +0x20, 0x100031564\nFMOV            S10, S2                                                ; +0x24, 0x100031568\nMOV             X19, X0                                                ; +0x28, 0x10003156c\nSTR             S0, [X0,#0x13C]                                        ; +0x2c, 0x100031570\nSTR             S1, [X0,#0x140]                                        ; +0x30, 0x100031574\nSTR             S2, [X0,#0x144]                                        ; +0x34, 0x100031578\nSTR             S3, [X0,#0x148]                                        ; +0x38, 0x10003157c\nSTR             S0, [X0,#0x154]                                        ; +0x3c, 0x100031580\nMOV             W8, #0x3F800000                                        ; +0x40, 0x100031584\nSTR             W8, [X0,#0x158]                                        ; +0x44, 0x100031588\nMOV             W8, #0x437F0000                                        ; +0x48, 0x10003158c\nSTR             W8, [X0,#0x150]                                        ; +0x4c, 0x100031590\nLDR             X8, [X0]                                               ; +0x50, 0x100031594\nLDR             X8, [X8,#0x148]                                        ; +0x54, 0x100031598\nMOV             W1, #0                                                 ; +0x58, 0x10003159c\nBLR             X8                                                     ; +0x5c, 0x1000315a0\nFMOV            S0, S8                                                 ; +0x60, 0x1000315a4\nBL              cocos2d__CCDelayTime__create                           ; +0x64, 0x1000315a8\nMOV             X20, X0                                                ; +0x68, 0x1000315ac\nBL              cocos2d__CCShow__create                                ; +0x6c, 0x1000315b0\nMOV             X21, X0                                                ; +0x70, 0x1000315b4\nLDR             S1, [X19,#0x158]                                       ; +0x74, 0x1000315b8\nADRL            X0, aHeight; \"height\"                                  ; +0x78, 0x1000315bc\nFMOV            S0, S9                                                 ; +0x80, 0x1000315c4\nFMOV            S2, S10                                                ; +0x84, 0x1000315c8\nBL              cocos2d__CCActionTween__create_1                       ; +0x88, 0x1000315cc\nFMOV            S0, #2.0                                               ; +0x8c, 0x1000315d0\nBL              cocos2d__CCEaseOut__create                             ; +0x90, 0x1000315d4\nMOV             X22, X0                                                ; +0x94, 0x1000315d8\nLDR             S1, [X19,#0x154]                                       ; +0x98, 0x1000315dc\nLDR             S2, [X19,#0x140]                                       ; +0x9c, 0x1000315e0\nADRL            X0, aWidth; \"width\"                                    ; +0xa0, 0x1000315e4\nFMOV            S0, S9                                                 ; +0xa8, 0x1000315ec\nBL              cocos2d__CCActionTween__create_1                       ; +0xac, 0x1000315f0\nFMOV            S0, #2.0                                               ; +0xb0, 0x1000315f4\nBL              cocos2d__CCEaseOut__create                             ; +0xb4, 0x1000315f8\nSTP             X0, XZR, [SP,#0x60+var_60]                             ; +0xb8, 0x1000315fc\nMOV             X0, X22                                                ; +0xbc, 0x100031600\nBL              sub_10018ABE0                                          ; +0xc0, 0x100031604\nSTP             X0, XZR, [SP,#0x60+var_58]                             ; +0xc4, 0x100031608\nSTR             X21, [SP,#0x60+var_60]                                 ; +0xc8, 0x10003160c\nMOV             X0, X20                                                ; +0xcc, 0x100031610\nBL              sub_10018A494                                          ; +0xd0, 0x100031614\nMOV             X20, X0                                                ; +0xd4, 0x100031618\nBL              cocos2d__CCDirector__sharedDirector                    ; +0xd8, 0x10003161c\nLDR             X8, [X0]                                               ; +0xdc, 0x100031620\nLDR             X8, [X8,#0x90]                                         ; +0xe0, 0x100031624\nBLR             X8                                                     ; +0xe4, 0x100031628\nMOV             X1, X20                                                ; +0xe8, 0x10003162c\nMOV             X2, X19                                                ; +0xec, 0x100031630\nMOV             W3, #0                                                 ; +0xf0, 0x100031634\nBL              cocos2d__CCActionManager__addAction                    ; +0xf4, 0x100031638\nMOV             W0, #1                                                 ; +0xf8, 0x10003163c\nLDP             X29, X30, [SP,#0x60+var_s0]                            ; +0xfc, 0x100031640\nLDP             X20, X19, [SP,#0x60+var_10]                            ; +0x100, 0x100031644\nLDP             X22, X21, [SP,#0x60+var_20]                            ; +0x104, 0x100031648\nLDP             D9, D8, [SP,#0x60+var_30]                              ; +0x108, 0x10003164c\nLDP             D11, D10, [SP,#0x60+var_40]                            ; +0x10c, 0x100031650\nADD             SP, SP, #0x70 ; 'p'                                    ; +0x110, 0x100031654\nRET                                                                    ; +0x114, 0x100031658", "xrefs": ["CCLightStrip::create @ 0x100031190"], "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"}