{"type": "func", "start": 6442637344, "end": 6442637432, "name": "cocos2d::CCWaves::initWithDuration", "pseudocode": "// \n// cocos2d::CCWaves::initWithDuration from 0x18002d820 to 0x18002d878 (88 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801b9ebc\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::CCWaves::initWithDuration(\n        cocos2d::CCWaves *this,\n        float a2,\n        const struct cocos2d::CCSize *a3,\n        int a4,\n        float a5,\n        bool a6,\n        bool a7)\n{\n  if ( !cocos2d::CCGridAction::initWithDuration(this, a2, a3) )\n    return 0;\n  *((_BYTE *)this + 117) = a6;\n  *((_BYTE *)this + 116) = a7;\n  *((float *)this + 27) = a5;\n  *((_DWORD *)this + 26) = a4;\n  *((_DWORD *)this + 28) = 1065353216;\n  return 1;\n}", "assembly": "; \n; cocos2d::CCWaves::initWithDuration from 0x18002d820 to 0x18002d878 (88 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801b9ebc\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_0], rbx                                               ; +0x0, 0x18002d820\npush    rdi                                                            ; +0x5, 0x18002d825\nsub     rsp, 20h                                                       ; +0x6, 0x18002d826\nmov     edi, r9d                                                       ; +0xa, 0x18002d82a\nmov     rbx, rcx                                                       ; +0xd, 0x18002d82d\ncall    ?initWithDuration@CCGridAction@cocos2d@@UEAA_NMAEBVCCSize@2@@Z; cocos2d::CCGridAction::initWithDuration(float,cocos2d::CCSize const &) ; +0x10, 0x18002d830\ntest    al, al                                                         ; +0x15, 0x18002d835\njz      short loc_18002D86B                                            ; +0x17, 0x18002d837\nmovzx   eax, [rsp+28h+arg_28]                                          ; +0x19, 0x18002d839\nmovss   xmm0, [rsp+28h+arg_20]                                         ; +0x1e, 0x18002d83e\nmov     [rbx+75h], al                                                  ; +0x24, 0x18002d844\nmovzx   eax, [rsp+28h+arg_30]                                          ; +0x27, 0x18002d847\nmov     [rbx+74h], al                                                  ; +0x2c, 0x18002d84c\nmov     al, 1                                                          ; +0x2f, 0x18002d84f\nmovss   dword ptr [rbx+6Ch], xmm0                                      ; +0x31, 0x18002d851\nmov     [rbx+68h], edi                                                 ; +0x36, 0x18002d856\nmov     dword ptr [rbx+70h], 3F800000h                                 ; +0x39, 0x18002d859\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x40, 0x18002d860\nadd     rsp, 20h                                                       ; +0x45, 0x18002d865\npop     rdi                                                            ; +0x49, 0x18002d869\nretn                                                                   ; +0x4a, 0x18002d86a\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x4b, 0x18002d86b\nxor     al, al                                                         ; +0x50, 0x18002d870\nadd     rsp, 20h                                                       ; +0x52, 0x18002d872\npop     rdi                                                            ; +0x56, 0x18002d876\nretn                                                                   ; +0x57, 0x18002d877", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801b9ebc"], "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"}