{"type": "func", "start": 4295168280, "end": 4295168440, "name": "CCLightStrip::create", "pseudocode": "// \n// CCLightStrip::create from 0x100031118 to 0x1000311b8 (160 bytes)\n// \n// 1 xrefs:\n// > CCLightFlash::playEffect @ 0x100030fa8\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 *__fastcall CCLightStrip::create(float a1, float a2, float a3, float a4, float a5)\n{\n  char *v10; // x19\n\n  v10 = (char *)operator new(0x160u);\n  cocos2d::CCNode::CCNode();\n  *(_QWORD *)v10 = &off_100767CC8;\n  *((_QWORD *)v10 + 42) = 0;\n  *((_DWORD *)v10 + 86) = 0;\n  *(_QWORD *)(v10 + 324) = 0;\n  *(_QWORD *)(v10 + 316) = 0;\n  CCLightStrip::init((CCLightStrip *)v10, a1, a2, a3, a4, a5);\n  cocos2d::CCObject::autorelease((cocos2d::CCObject *)v10);\n  return (CCLightStrip *)v10;\n}", "assembly": "; \n; CCLightStrip::create from 0x100031118 to 0x1000311b8 (160 bytes)\n; \n; 1 xrefs:\n; > CCLightFlash::playEffect @ 0x100030fa8\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\nSTP             D13, D12, [SP,#-0x10+var_40]!                          ; +0x0, 0x100031118\nSTP             D11, D10, [SP,#0x40+var_30]                            ; +0x4, 0x10003111c\nSTP             D9, D8, [SP,#0x40+var_20]                              ; +0x8, 0x100031120\nSTP             X20, X19, [SP,#0x40+var_10]                            ; +0xc, 0x100031124\nSTP             X29, X30, [SP,#0x40+var_s0]                            ; +0x10, 0x100031128\nADD             X29, SP, #0x40                                         ; +0x14, 0x10003112c\nFMOV            S8, S4                                                 ; +0x18, 0x100031130\nFMOV            S9, S3                                                 ; +0x1c, 0x100031134\nFMOV            S10, S2                                                ; +0x20, 0x100031138\nFMOV            S11, S1                                                ; +0x24, 0x10003113c\nFMOV            S12, S0                                                ; +0x28, 0x100031140\nMOV             W0, #0x160; __sz                                       ; +0x2c, 0x100031144\nBL              __Znwm; operator new(ulong)                            ; +0x30, 0x100031148\nMOV             X19, X0                                                ; +0x34, 0x10003114c\nBL              cocos2d__CCNode__CCNode                                ; +0x38, 0x100031150\nADRL            X8, off_100767CC8                                      ; +0x3c, 0x100031154\nSTR             X8, [X19]                                              ; +0x44, 0x10003115c\nADD             X8, X19, #0x13C                                        ; +0x48, 0x100031160\nSTR             XZR, [X19,#0x150]                                      ; +0x4c, 0x100031164\nSTR             WZR, [X19,#0x158]                                      ; +0x50, 0x100031168\nADD             X9, X19, #0x144                                        ; +0x54, 0x10003116c\nSTR             XZR, [X9]                                              ; +0x58, 0x100031170\nSTR             XZR, [X8]                                              ; +0x5c, 0x100031174\nMOV             X0, X19                                                ; +0x60, 0x100031178\nFMOV            S0, S12                                                ; +0x64, 0x10003117c\nFMOV            S1, S11                                                ; +0x68, 0x100031180\nFMOV            S2, S10                                                ; +0x6c, 0x100031184\nFMOV            S3, S9                                                 ; +0x70, 0x100031188\nFMOV            S4, S8                                                 ; +0x74, 0x10003118c\nBL              CCLightStrip__init                                     ; +0x78, 0x100031190\nMOV             X0, X19                                                ; +0x7c, 0x100031194\nBL              cocos2d__CCObject__autorelease                         ; +0x80, 0x100031198\nMOV             X0, X19                                                ; +0x84, 0x10003119c\nLDP             X29, X30, [SP,#0x40+var_s0]                            ; +0x88, 0x1000311a0\nLDP             X20, X19, [SP,#0x40+var_10]                            ; +0x8c, 0x1000311a4\nLDP             D9, D8, [SP,#0x40+var_20]                              ; +0x90, 0x1000311a8\nLDP             D11, D10, [SP,#0x40+var_30]                            ; +0x94, 0x1000311ac\nLDP             D13, D12, [SP+0x40+var_40],#0x50                       ; +0x98, 0x1000311b0\nRET                                                                    ; +0x9c, 0x1000311b4", "xrefs": ["CCLightFlash::playEffect @ 0x100030fa8"], "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"}