{"type": "func", "start": 6442805152, "end": 6442805226, "name": "cocos2d::CCTransitionFade::initWithDuration", "pseudocode": "// \n// cocos2d::CCTransitionFade::initWithDuration from 0x1800567a0 to 0x1800567ea (74 bytes)\n// \n// 7 xrefs:\n// > cocos2d::CCTransitionFade::create @ 0x180054be8\n// > cocos2d::CCTransitionFade::create @ 0x180054c7c\n// > cocos2d::CCTransitionFade::create @ 0x180054bcc\n// > cocos2d::CCTransitionFade::create @ 0x180054c64\n// > <???> @ 0x1800f96f0\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bc9dc\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:47 +0000\n// \n\nchar __fastcall cocos2d::CCTransitionFade::initWithDuration(\n        cocos2d::CCTransitionFade *this,\n        float a2,\n        struct cocos2d::CCScene *a3,\n        const struct cocos2d::_ccColor3B *a4)\n{\n  if ( cocos2d::CCTransitionScene::initWithDuration(this, a2, a3) )\n  {\n    *((_BYTE *)this + 352) = *(_BYTE *)a4;\n    *((_BYTE *)this + 353) = *((_BYTE *)a4 + 1);\n    *((_WORD *)this + 177) = *((unsigned __int8 *)a4 + 2);\n  }\n  return 1;\n}", "assembly": "; \n; cocos2d::CCTransitionFade::initWithDuration from 0x1800567a0 to 0x1800567ea (74 bytes)\n; \n; 7 xrefs:\n; > cocos2d::CCTransitionFade::create @ 0x180054be8\n; > cocos2d::CCTransitionFade::create @ 0x180054c7c\n; > cocos2d::CCTransitionFade::create @ 0x180054bcc\n; > cocos2d::CCTransitionFade::create @ 0x180054c64\n; > <???> @ 0x1800f96f0\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bc9dc\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:47 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800567a0\npush    rdi                                                            ; +0x5, 0x1800567a5\nsub     rsp, 20h                                                       ; +0x6, 0x1800567a6\nmov     rdi, r9                                                        ; +0xa, 0x1800567aa\nmov     rbx, rcx                                                       ; +0xd, 0x1800567ad\ncall    ?initWithDuration@CCTransitionScene@cocos2d@@UEAA_NMPEAVCCScene@2@@Z; cocos2d::CCTransitionScene::initWithDuration(float,cocos2d::CCScene *) ; +0x10, 0x1800567b0\ntest    al, al                                                         ; +0x15, 0x1800567b5\njz      short loc_1800567DD                                            ; +0x17, 0x1800567b7\nmovzx   eax, byte ptr [rdi]                                            ; +0x19, 0x1800567b9\nmov     [rbx+160h], al                                                 ; +0x1c, 0x1800567bc\nmovzx   eax, byte ptr [rdi+1]                                          ; +0x22, 0x1800567c2\nmov     [rbx+161h], al                                                 ; +0x26, 0x1800567c6\nmovzx   eax, byte ptr [rdi+2]                                          ; +0x2c, 0x1800567cc\nmov     [rbx+162h], al                                                 ; +0x30, 0x1800567d0\nmov     byte ptr [rbx+163h], 0                                         ; +0x36, 0x1800567d6\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x3d, 0x1800567dd\nmov     al, 1                                                          ; +0x42, 0x1800567e2\nadd     rsp, 20h                                                       ; +0x44, 0x1800567e4\npop     rdi                                                            ; +0x48, 0x1800567e8\nretn                                                                   ; +0x49, 0x1800567e9", "xrefs": ["cocos2d::CCTransitionFade::create @ 0x180054be8", "cocos2d::CCTransitionFade::create @ 0x180054c7c", "cocos2d::CCTransitionFade::create @ 0x180054bcc", "cocos2d::CCTransitionFade::create @ 0x180054c64", "<???> @ 0x1800f96f0", "<???> @ 0x18014cf68", "<???> @ 0x1801bc9dc"], "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"}