{"type": "func", "start": 6442635104, "end": 6442635264, "name": "cocos2d::CCLens3D::initWithDuration", "pseudocode": "// \n// cocos2d::CCLens3D::initWithDuration from 0x18002cf60 to 0x18002d000 (160 bytes)\n// \n// 6 xrefs:\n// > cocos2d::CCLens3D::copyWithZone @ 0x18002beb6\n// > cocos2d::CCLens3D::create @ 0x18002c8e0\n// > <???> @ 0x180134be4\n// > <???> @ 0x180134bf4\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801afd54\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\nchar __fastcall cocos2d::CCLens3D::initWithDuration(\n        cocos2d::CCLens3D *this,\n        float a2,\n        struct cocos2d::CCSize *a3,\n        cocos2d::CCSize *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, (const struct cocos2d::CCSize *)this + 13) )\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 0x18002cf60 to 0x18002d000 (160 bytes)\n; \n; 6 xrefs:\n; > cocos2d::CCLens3D::copyWithZone @ 0x18002beb6\n; > cocos2d::CCLens3D::create @ 0x18002c8e0\n; > <???> @ 0x180134be4\n; > <???> @ 0x180134bf4\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801afd54\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\nmov     [rsp+arg_10], rbx                                              ; +0x0, 0x18002cf60\npush    rbp                                                            ; +0x5, 0x18002cf65\nsub     rsp, 30h                                                       ; +0x6, 0x18002cf66\nmov     rbp, r9                                                        ; +0xa, 0x18002cf6a\nmov     rbx, rcx                                                       ; +0xd, 0x18002cf6d\ncall    ?initWithDuration@CCGridAction@cocos2d@@UEAA_NMAEBVCCSize@2@@Z; cocos2d::CCGridAction::initWithDuration(float,cocos2d::CCSize const &) ; +0x10, 0x18002cf70\ntest    al, al                                                         ; +0x15, 0x18002cf75\njz      short loc_18002CFF3                                            ; +0x17, 0x18002cf77\nmovss   xmm1, cs:dword_1800E6B20                                       ; +0x19, 0x18002cf79\nlea     rcx, [rsp+38h+var_18]                                          ; +0x21, 0x18002cf81\nmovaps  xmm2, xmm1                                                     ; +0x26, 0x18002cf86\nmov     [rsp+38h+arg_0], rsi                                           ; +0x29, 0x18002cf89\nmov     [rsp+38h+arg_8], rdi                                           ; +0x2e, 0x18002cf8e\ncall    kmVec2Fill                                                     ; +0x33, 0x18002cf93\nmov     rdx, rax                                                       ; +0x38, 0x18002cf98\nlea     rcx, [rbx+68h]                                                 ; +0x3b, 0x18002cf9b\ncall    ??4CCSize@cocos2d@@QEAAAEAV01@AEBVCCPoint@1@@Z; cocos2d::CCSize::operator=(cocos2d::CCPoint const &) ; +0x3f, 0x18002cf9f\nlea     rdx, [rbx+68h]; struct cocos2d::CCSize *                       ; +0x44, 0x18002cfa4\nmov     rcx, rbp; this                                                 ; +0x48, 0x18002cfa8\ncall    ?equals@CCSize@cocos2d@@QEBA_NAEBV12@@Z; cocos2d::CCSize::equals(cocos2d::CCSize const &) ; +0x4b, 0x18002cfab\ntest    al, al                                                         ; +0x50, 0x18002cfb0\njnz     short loc_18002CFC4                                            ; +0x52, 0x18002cfb2\nmov     rdx, rbp                                                       ; +0x54, 0x18002cfb4\nlea     rcx, [rbx+68h]                                                 ; +0x57, 0x18002cfb7\ncall    ??4CCSize@cocos2d@@QEAAAEAV01@AEBVCCPoint@1@@Z; cocos2d::CCSize::operator=(cocos2d::CCPoint const &) ; +0x5b, 0x18002cfbb\nmov     byte ptr [rbx+79h], 1                                          ; +0x60, 0x18002cfc0\nmovss   xmm0, [rsp+38h+arg_20]                                         ; +0x64, 0x18002cfc4\nmov     al, 1                                                          ; +0x6a, 0x18002cfca\nmov     rdi, [rsp+38h+arg_8]                                           ; +0x6c, 0x18002cfcc\nmov     rsi, [rsp+38h+arg_0]                                           ; +0x71, 0x18002cfd1\nmovss   dword ptr [rbx+70h], xmm0                                      ; +0x76, 0x18002cfd6\nmov     dword ptr [rbx+74h], 3F333333h                                 ; +0x7b, 0x18002cfdb\nmov     word ptr [rbx+78h], 100h                                       ; +0x82, 0x18002cfe2\nmov     rbx, [rsp+38h+arg_10]                                          ; +0x88, 0x18002cfe8\nadd     rsp, 30h                                                       ; +0x8d, 0x18002cfed\npop     rbp                                                            ; +0x91, 0x18002cff1\nretn                                                                   ; +0x92, 0x18002cff2\nmov     rbx, [rsp+38h+arg_10]                                          ; +0x93, 0x18002cff3\nxor     al, al                                                         ; +0x98, 0x18002cff8\nadd     rsp, 30h                                                       ; +0x9a, 0x18002cffa\npop     rbp                                                            ; +0x9e, 0x18002cffe\nretn                                                                   ; +0x9f, 0x18002cfff", "xrefs": ["cocos2d::CCLens3D::copyWithZone @ 0x18002beb6", "cocos2d::CCLens3D::create @ 0x18002c8e0", "<???> @ 0x180134be4", "<???> @ 0x180134bf4", "<???> @ 0x1801438a8", "<???> @ 0x1801afd54"], "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"}