{"type": "func", "start": 3132196, "end": 3132322, "name": "CCLightStrip::create", "pseudocode": "// \n// CCLightStrip::create from 0x2fcb24 to 0x2fcba2 (126 bytes)\n// \n// 1 xrefs:\n// > CCLightFlash::playEffect @ 0x2fcd44\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\nCCLightStrip *CCLightStrip::create(float a1, float a2, float a3, float a4, float a5)\n{\n  CCLightStrip *v9; // r4\n  CCLightStrip_vtbl *v10; // r3\n  int *v11; // r0\n\n  v9 = (CCLightStrip *)operator new(0x128u);\n  cocos2d::CCNode::CCNode(v9);\n  v9->__vftable = (CCLightStrip_vtbl *)&off_A42518;\n  v9->m_objectWidth = 0.0;\n  v9->m_toWidth = 0.0;\n  v9->m_toHeight = 0.0;\n  v9->m_duration = 0.0;\n  v9->m_opacity = 0.0;\n  v9->m_width = 0.0;\n  v9->m_height = 0.0;\n  if ( CCLightStrip::init(v9, a1, a2, a3, a4, a5) )\n  {\n    cocos2d::CCObject::autorelease(v9);\n  }\n  else\n  {\n    v10 = v9->__vftable;\n    v11 = (int *)v9;\n    v9 = nullptr;\n    v10->~CCLightStrip_0((CCLightStrip *)v11);\n  }\n  return v9;\n}", "assembly": "; \n; CCLightStrip::create from 0x2fcb24 to 0x2fcba2 (126 bytes)\n; \n; 1 xrefs:\n; > CCLightFlash::playEffect @ 0x2fcd44\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          {R0,R1,R4-R8,LR}                                       ; +0x0, 0x2fcb24\nMOV             R7, R0                                                 ; +0x4, 0x2fcb28\nMOV.W           R0, #0x128; unsigned int                               ; +0x6, 0x2fcb2a\nMOV             R6, R1                                                 ; +0xa, 0x2fcb2e\nMOV             R5, R2                                                 ; +0xc, 0x2fcb30\nMOV             R8, R3                                                 ; +0xe, 0x2fcb32\nBL              _Znwj; operator new(uint)                              ; +0x10, 0x2fcb34\nMOV             R4, R0                                                 ; +0x14, 0x2fcb38\nBL              _ZN7cocos2d6CCNodeC2Ev; cocos2d::CCNode::CCNode(void)  ; +0x16, 0x2fcb3a\nLDR             R3, =(_ZTV12CCLightStrip_ptr - 0x2FCB4A)               ; +0x1a, 0x2fcb3e\nMOV             R0, R4; this                                           ; +0x1c, 0x2fcb40\nMOV             R1, R7; float                                          ; +0x1e, 0x2fcb42\nMOV             R2, R6; float                                          ; +0x20, 0x2fcb44\nADD             R3, PC; _ZTV12CCLightStrip_ptr                         ; +0x22, 0x2fcb46\nLDR             R3, [R3]; `vtable for'CCLightStrip ...                 ; +0x24, 0x2fcb48\nADDS            R3, #8                                                 ; +0x26, 0x2fcb4a\nSTR             R3, [R4]                                               ; +0x28, 0x2fcb4c\nMOVS            R3, #0                                                 ; +0x2a, 0x2fcb4e\nSTR.W           R3, [R4,#0x108]                                        ; +0x2c, 0x2fcb50\nSTR.W           R3, [R4,#0x10C]                                        ; +0x30, 0x2fcb54\nSTR.W           R3, [R4,#0x110]                                        ; +0x34, 0x2fcb58\nSTR.W           R3, [R4,#0x114]                                        ; +0x38, 0x2fcb5c\nSTR.W           R3, [R4,#0x11C]                                        ; +0x3c, 0x2fcb60\nSTR.W           R3, [R4,#0x120]                                        ; +0x40, 0x2fcb64\nSTR.W           R3, [R4,#0x124]                                        ; +0x44, 0x2fcb68\nLDR             R3, [SP,#8+arg_0]                                      ; +0x48, 0x2fcb6c\nSTR.W           R8, [SP,#8+var_8]; float                               ; +0x4a, 0x2fcb6e\nSTR             R3, [SP,#8+var_4]; cocos2d::CCDelayTime *              ; +0x4e, 0x2fcb72\nMOV             R3, R5; float                                          ; +0x50, 0x2fcb74\nBL              _ZN12CCLightStrip4initEfffff; CCLightStrip::init(float,float,float,float,float) ; +0x52, 0x2fcb76\nMOV             R5, R0                                                 ; +0x56, 0x2fcb7a\nCBZ             R0, loc_2FCB90                                         ; +0x58, 0x2fcb7c\nMOV             R0, R4; this                                           ; +0x5a, 0x2fcb7e\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x5c, 0x2fcb80\nB               loc_2FCB9A                                             ; +0x60, 0x2fcb84\nMOV             R0, R4; p                                              ; +0x62, 0x2fcb86\nBL              _ZdlPv; operator delete(void *)                        ; +0x64, 0x2fcb88\nBL              __cxa_end_cleanup                                      ; +0x68, 0x2fcb8c\nLDR             R3, [R4]                                               ; +0x6c, 0x2fcb90\nMOV             R0, R4                                                 ; +0x6e, 0x2fcb92\nMOV             R4, R5                                                 ; +0x70, 0x2fcb94\nLDR             R3, [R3,#8]                                            ; +0x72, 0x2fcb96\nBLX             R3                                                     ; +0x74, 0x2fcb98\nMOV             R0, R4                                                 ; +0x76, 0x2fcb9a\nADD             SP, SP, #8                                             ; +0x78, 0x2fcb9c\nPOP.W           {R4-R8,PC}                                             ; +0x7a, 0x2fcb9e", "xrefs": ["CCLightFlash::playEffect @ 0x2fcd44"], "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"}