{"type": "func", "start": 6442636832, "end": 6442636992, "name": "cocos2d::CCLens3D::initWithDuration", "pseudocode": "// \n// cocos2d::CCLens3D::initWithDuration from 0x18002d620 to 0x18002d6c0 (160 bytes)\n// \n// 6 xrefs:\n// > cocos2d::CCLens3D::copyWithZone @ 0x18002c576\n// > cocos2d::CCLens3D::create @ 0x18002cfa0\n// > <???> @ 0x18013db94\n// > <???> @ 0x18013dba4\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801b9e68\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 11:21:32 +0000\n// \n\nchar __fastcall cocos2d::CCLens3D::initWithDuration(\n        cocos2d::CCLens3D *this,\n        float a2,\n        const struct cocos2d::CCSize *a3,\n        const struct cocos2d::CCPoint *a4,\n        float a5)\n{\n  float *v7; // rax\n  float v9[6]; // [rsp+20h] [rbp-18h] BYREF\n\n  if ( !cocos2d::CCGridAction::initWithDuration(this, a2, a3) )\n    return 0;\n  v7 = kmVec2Fill(v9, -1.0, -1.0);\n  cocos2d::CCSize::operator=((_DWORD *)this + 26, v7);\n  if ( !cocos2d::CCSize::equals(a4, (cocos2d::CCLens3D *)((char *)this + 104)) )\n  {\n    cocos2d::CCSize::operator=((_DWORD *)this + 26, a4);\n    *((_BYTE *)this + 121) = 1;\n  }\n  *((float *)this + 28) = a5;\n  *((_DWORD *)this + 29) = 1060320051;\n  *((_WORD *)this + 60) = 256;\n  return 1;\n}", "assembly": "; \n; cocos2d::CCLens3D::initWithDuration from 0x18002d620 to 0x18002d6c0 (160 bytes)\n; \n; 6 xrefs:\n; > cocos2d::CCLens3D::copyWithZone @ 0x18002c576\n; > cocos2d::CCLens3D::create @ 0x18002cfa0\n; > <???> @ 0x18013db94\n; > <???> @ 0x18013dba4\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801b9e68\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 11:21:32 +0000\n; \nmov     [rsp+arg_10], rbx                                              ; +0x0, 0x18002d620\npush    rbp                                                            ; +0x5, 0x18002d625\nsub     rsp, 30h                                                       ; +0x6, 0x18002d626\nmov     rbp, r9                                                        ; +0xa, 0x18002d62a\nmov     rbx, rcx                                                       ; +0xd, 0x18002d62d\ncall    ?initWithDuration@CCGridAction@cocos2d@@UEAA_NMAEBVCCSize@2@@Z; cocos2d::CCGridAction::initWithDuration(float,cocos2d::CCSize const &) ; +0x10, 0x18002d630\ntest    al, al                                                         ; +0x15, 0x18002d635\njz      short loc_18002D6B3                                            ; +0x17, 0x18002d637\nmovss   xmm1, cs:dword_1800ED380                                       ; +0x19, 0x18002d639\nlea     rcx, [rsp+38h+var_18]                                          ; +0x21, 0x18002d641\nmovaps  xmm2, xmm1                                                     ; +0x26, 0x18002d646\nmov     [rsp+38h+arg_0], rsi                                           ; +0x29, 0x18002d649\nmov     [rsp+38h+arg_8], rdi                                           ; +0x2e, 0x18002d64e\ncall    kmVec2Fill                                                     ; +0x33, 0x18002d653\nmov     rdx, rax                                                       ; +0x38, 0x18002d658\nlea     rcx, [rbx+68h]                                                 ; +0x3b, 0x18002d65b\ncall    ??4CCSize@cocos2d@@QEAAAEAV01@AEBVCCPoint@1@@Z; cocos2d::CCSize::operator=(cocos2d::CCPoint const &) ; +0x3f, 0x18002d65f\nlea     rdx, [rbx+68h]; struct cocos2d::CCSize *                       ; +0x44, 0x18002d664\nmov     rcx, rbp; this                                                 ; +0x48, 0x18002d668\ncall    ?equals@CCSize@cocos2d@@QEBA_NAEBV12@@Z; cocos2d::CCSize::equals(cocos2d::CCSize const &) ; +0x4b, 0x18002d66b\ntest    al, al                                                         ; +0x50, 0x18002d670\njnz     short loc_18002D684                                            ; +0x52, 0x18002d672\nmov     rdx, rbp                                                       ; +0x54, 0x18002d674\nlea     rcx, [rbx+68h]                                                 ; +0x57, 0x18002d677\ncall    ??4CCSize@cocos2d@@QEAAAEAV01@AEBVCCPoint@1@@Z; cocos2d::CCSize::operator=(cocos2d::CCPoint const &) ; +0x5b, 0x18002d67b\nmov     byte ptr [rbx+79h], 1                                          ; +0x60, 0x18002d680\nmovss   xmm0, [rsp+38h+arg_20]                                         ; +0x64, 0x18002d684\nmov     al, 1                                                          ; +0x6a, 0x18002d68a\nmov     rdi, [rsp+38h+arg_8]                                           ; +0x6c, 0x18002d68c\nmov     rsi, [rsp+38h+arg_0]                                           ; +0x71, 0x18002d691\nmovss   dword ptr [rbx+70h], xmm0                                      ; +0x76, 0x18002d696\nmov     dword ptr [rbx+74h], 3F333333h                                 ; +0x7b, 0x18002d69b\nmov     word ptr [rbx+78h], 100h                                       ; +0x82, 0x18002d6a2\nmov     rbx, [rsp+38h+arg_10]                                          ; +0x88, 0x18002d6a8\nadd     rsp, 30h                                                       ; +0x8d, 0x18002d6ad\npop     rbp                                                            ; +0x91, 0x18002d6b1\nretn                                                                   ; +0x92, 0x18002d6b2\nmov     rbx, [rsp+38h+arg_10]                                          ; +0x93, 0x18002d6b3\nxor     al, al                                                         ; +0x98, 0x18002d6b8\nadd     rsp, 30h                                                       ; +0x9a, 0x18002d6ba\npop     rbp                                                            ; +0x9e, 0x18002d6be\nretn                                                                   ; +0x9f, 0x18002d6bf", "xrefs": ["cocos2d::CCLens3D::copyWithZone @ 0x18002c576", "cocos2d::CCLens3D::create @ 0x18002cfa0", "<???> @ 0x18013db94", "<???> @ 0x18013dba4", "<???> @ 0x18014cf68", "<???> @ 0x1801b9e68"], "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"}