{"type": "func", "start": 4300222912, "end": 4300223219, "name": "CCLightStrip::init", "pseudocode": "// \n// CCLightStrip::init from 0x1005031c0 to 0x1005032f3 (307 bytes)\n// \n// 2 xrefs:\n// > CCLightFlash::playEffect @ 0x100502ba7\n// > CCLightStrip::create @ 0x100502d6e\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\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 12:31:31 +0000\n// \n\nchar __fastcall CCLightStrip::init(__int64 a1, float a2, float a3, float a4, float a5, float a6)\n{\n  _OWORD *v6; // r14\n  __int64 v7; // r15\n  __int64 v8; // rax\n  __int64 v9; // r12\n  double v10; // xmm2_8\n  double v11; // xmm1_8\n  __int64 v12; // rax\n  __int64 v13; // rax\n  __int64 v14; // rax\n  __int64 v15; // r14\n  __int64 v16; // rax\n  __int64 v17; // rax\n\n  *(float *)(a1 + 316) = a2;\n  *(float *)(a1 + 320) = a3;\n  *(float *)(a1 + 324) = a4;\n  *(float *)(a1 + 328) = a5;\n  *(float *)(a1 + 340) = a2;\n  *(_DWORD *)(a1 + 344) = 1065353216;\n  *(_DWORD *)(a1 + 336) = 1132396544;\n  (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 344LL))(a1, 0);\n  v6 = cocos2d::CCDelayTime::create((__m128)LODWORD(a6));\n  v7 = cocos2d::CCShow::create(a1);\n  v8 = cocos2d::CCActionTween::create_1((std::string::value_type *)\"height\");\n  v9 = cocos2d::CCEaseOut::create(v8, 2.0);\n  *(_QWORD *)&v10 = *(unsigned int *)(a1 + 320);\n  *(_QWORD *)&v11 = *(unsigned int *)(a1 + 340);\n  v12 = cocos2d::CCActionTween::create_1((std::string::value_type *)\"width\");\n  v13 = cocos2d::CCEaseOut::create(v12, 2.0);\n  v14 = sub_10039FF60(v9, v13, 0, COERCE_DOUBLE(0x40000000), v11, v10);\n  v15 = sub_10039EB60((__int64)v6, v7, v14, 0);\n  v16 = cocos2d::CCDirector::sharedDirector();\n  v17 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v16 + 144LL))(v16);\n  cocos2d::CCActionManager::addAction(v17, v15, a1, 0);\n  return 1;\n}", "assembly": "; \n; CCLightStrip::init from 0x1005031c0 to 0x1005032f3 (307 bytes)\n; \n; 2 xrefs:\n; > CCLightFlash::playEffect @ 0x100502ba7\n; > CCLightStrip::create @ 0x100502d6e\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\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 12:31:31 +0000\n; \npush    rbp                                                            ; +0x0, 0x1005031c0\nmov     rbp, rsp                                                       ; +0x1, 0x1005031c1\npush    r15                                                            ; +0x4, 0x1005031c4\npush    r14                                                            ; +0x6, 0x1005031c6\npush    r12                                                            ; +0x8, 0x1005031c8\npush    rbx                                                            ; +0xa, 0x1005031ca\nsub     rsp, 10h                                                       ; +0xb, 0x1005031cb\nmovss   [rbp+var_28], xmm4                                             ; +0xf, 0x1005031cf\nmovss   [rbp+var_24], xmm3                                             ; +0x14, 0x1005031d4\nmovss   [rbp+var_2C], xmm2                                             ; +0x19, 0x1005031d9\nmov     rbx, rdi                                                       ; +0x1e, 0x1005031de\nmovss   dword ptr [rdi+13Ch], xmm0                                     ; +0x21, 0x1005031e1\nmovss   dword ptr [rdi+140h], xmm1                                     ; +0x29, 0x1005031e9\nmovss   dword ptr [rdi+144h], xmm2                                     ; +0x31, 0x1005031f1\nmovss   dword ptr [rdi+148h], xmm3                                     ; +0x39, 0x1005031f9\nmovss   dword ptr [rdi+154h], xmm0                                     ; +0x41, 0x100503201\nmov     dword ptr [rdi+158h], 3F800000h                                ; +0x49, 0x100503209\nmov     dword ptr [rdi+150h], 437F0000h                                ; +0x53, 0x100503213\nmov     rax, [rdi]                                                     ; +0x5d, 0x10050321d\nxor     esi, esi                                                       ; +0x60, 0x100503220\ncall    qword ptr [rax+158h]                                           ; +0x62, 0x100503222\nmovss   xmm0, [rbp+var_28]                                             ; +0x68, 0x100503228\ncall    cocos2d__CCDelayTime__create                                   ; +0x6d, 0x10050322d\nmov     r14, rax                                                       ; +0x72, 0x100503232\ncall    cocos2d__CCShow__create                                        ; +0x75, 0x100503235\nmov     r15, rax                                                       ; +0x7a, 0x10050323a\nmovss   xmm1, dword ptr [rbx+158h]                                     ; +0x7d, 0x10050323d\nlea     rdi, aHeight_0; \"height\"                                       ; +0x85, 0x100503245\nmovss   xmm0, [rbp+var_24]                                             ; +0x8c, 0x10050324c\nmovss   xmm2, [rbp+var_2C]                                             ; +0x91, 0x100503251\ncall    cocos2d__CCActionTween__create_1                               ; +0x96, 0x100503256\nmovss   xmm0, cs:width                                                 ; +0x9b, 0x10050325b\nmov     rdi, rax                                                       ; +0xa3, 0x100503263\ncall    cocos2d__CCEaseOut__create                                     ; +0xa6, 0x100503266\nmov     r12, rax                                                       ; +0xab, 0x10050326b\nmovss   xmm2, dword ptr [rbx+140h]                                     ; +0xae, 0x10050326e\nmovss   xmm1, dword ptr [rbx+154h]                                     ; +0xb6, 0x100503276\nlea     rdi, aWidth_0; \"width\"                                         ; +0xbe, 0x10050327e\nmovss   xmm0, [rbp+var_24]                                             ; +0xc5, 0x100503285\ncall    cocos2d__CCActionTween__create_1                               ; +0xca, 0x10050328a\nmov     rdi, rax                                                       ; +0xcf, 0x10050328f\nmovss   xmm0, cs:width                                                 ; +0xd2, 0x100503292\ncall    cocos2d__CCEaseOut__create                                     ; +0xda, 0x10050329a\nmov     rdi, r12                                                       ; +0xdf, 0x10050329f\nmov     rsi, rax                                                       ; +0xe2, 0x1005032a2\nxor     edx, edx                                                       ; +0xe5, 0x1005032a5\nxor     eax, eax                                                       ; +0xe7, 0x1005032a7\ncall    sub_10039FF60                                                  ; +0xe9, 0x1005032a9\nmov     rdi, r14                                                       ; +0xee, 0x1005032ae\nmov     rsi, r15                                                       ; +0xf1, 0x1005032b1\nmov     rdx, rax                                                       ; +0xf4, 0x1005032b4\nxor     ecx, ecx                                                       ; +0xf7, 0x1005032b7\nxor     eax, eax                                                       ; +0xf9, 0x1005032b9\ncall    sub_10039EB60                                                  ; +0xfb, 0x1005032bb\nmov     r14, rax                                                       ; +0x100, 0x1005032c0\ncall    cocos2d__CCDirector__sharedDirector                            ; +0x103, 0x1005032c3\nmov     rcx, [rax]                                                     ; +0x108, 0x1005032c8\nmov     rdi, rax                                                       ; +0x10b, 0x1005032cb\ncall    qword ptr [rcx+90h]                                            ; +0x10e, 0x1005032ce\nmov     rdi, rax                                                       ; +0x114, 0x1005032d4\nmov     rsi, r14                                                       ; +0x117, 0x1005032d7\nmov     rdx, rbx                                                       ; +0x11a, 0x1005032da\nxor     ecx, ecx                                                       ; +0x11d, 0x1005032dd\ncall    cocos2d__CCActionManager__addAction                            ; +0x11f, 0x1005032df\nmov     al, 1                                                          ; +0x124, 0x1005032e4\nadd     rsp, 10h                                                       ; +0x126, 0x1005032e6\npop     rbx                                                            ; +0x12a, 0x1005032ea\npop     r12                                                            ; +0x12b, 0x1005032eb\npop     r14                                                            ; +0x12d, 0x1005032ed\npop     r15                                                            ; +0x12f, 0x1005032ef\npop     rbp                                                            ; +0x131, 0x1005032f1\nretn                                                                   ; +0x132, 0x1005032f2", "xrefs": ["CCLightFlash::playEffect @ 0x100502ba7", "CCLightStrip::create @ 0x100502d6e"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}