{"type": "func", "start": 6442635520, "end": 6442635608, "name": "cocos2d::CCTwirl::initWithDuration", "pseudocode": "// \n// cocos2d::CCTwirl::initWithDuration from 0x18002d100 to 0x18002d158 (88 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801afd9c\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::CCTwirl::initWithDuration(\n        cocos2d::CCTwirl *this,\n        float a2,\n        struct cocos2d::CCSize *a3,\n        struct cocos2d::CCPoint a4,\n        unsigned int a5,\n        float a6)\n{\n  if ( !cocos2d::CCGridAction::initWithDuration(this, a2, a3) )\n    return 0;\n  cocos2d::CCSize::operator=((_DWORD *)this + 26, *(_DWORD **)&a4);\n  *((_DWORD *)this + 28) = a5;\n  *((float *)this + 29) = a6;\n  *((_DWORD *)this + 30) = 1065353216;\n  return 1;\n}", "assembly": "; \n; cocos2d::CCTwirl::initWithDuration from 0x18002d100 to 0x18002d158 (88 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801afd9c\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_0], rbx                                               ; +0x0, 0x18002d100\npush    rdi                                                            ; +0x5, 0x18002d105\nsub     rsp, 20h                                                       ; +0x6, 0x18002d106\nmov     rdi, r9                                                        ; +0xa, 0x18002d10a\nmov     rbx, rcx                                                       ; +0xd, 0x18002d10d\ncall    ?initWithDuration@CCGridAction@cocos2d@@UEAA_NMAEBVCCSize@2@@Z; cocos2d::CCGridAction::initWithDuration(float,cocos2d::CCSize const &) ; +0x10, 0x18002d110\ntest    al, al                                                         ; +0x15, 0x18002d115\njz      short loc_18002D14B                                            ; +0x17, 0x18002d117\nlea     rcx, [rbx+68h]                                                 ; +0x19, 0x18002d119\nmov     rdx, rdi                                                       ; +0x1d, 0x18002d11d\ncall    ??4CCSize@cocos2d@@QEAAAEAV01@AEBVCCPoint@1@@Z; cocos2d::CCSize::operator=(cocos2d::CCPoint const &) ; +0x20, 0x18002d120\nmov     eax, [rsp+28h+arg_20]                                          ; +0x25, 0x18002d125\nmovss   xmm0, [rsp+28h+arg_28]                                         ; +0x29, 0x18002d129\nmov     [rbx+70h], eax                                                 ; +0x2f, 0x18002d12f\nmov     al, 1                                                          ; +0x32, 0x18002d132\nmovss   dword ptr [rbx+74h], xmm0                                      ; +0x34, 0x18002d134\nmov     dword ptr [rbx+78h], 3F800000h                                 ; +0x39, 0x18002d139\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x40, 0x18002d140\nadd     rsp, 20h                                                       ; +0x45, 0x18002d145\npop     rdi                                                            ; +0x49, 0x18002d149\nretn                                                                   ; +0x4a, 0x18002d14a\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x4b, 0x18002d14b\nxor     al, al                                                         ; +0x50, 0x18002d150\nadd     rsp, 20h                                                       ; +0x52, 0x18002d152\npop     rdi                                                            ; +0x56, 0x18002d156\nretn                                                                   ; +0x57, 0x18002d157", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801afd9c"], "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"}