{"type": "func", "start": 6442797536, "end": 6442797610, "name": "cocos2d::CCTransitionFade::initWithDuration", "pseudocode": "// \n// cocos2d::CCTransitionFade::initWithDuration from 0x1800549e0 to 0x180054a2a (74 bytes)\n// \n// 7 xrefs:\n// > cocos2d::CCTransitionFade::create @ 0x180052e38\n// > cocos2d::CCTransitionFade::create @ 0x180052ecc\n// > cocos2d::CCTransitionFade::create @ 0x180052e1c\n// > cocos2d::CCTransitionFade::create @ 0x180052eb4\n// > <???> @ 0x1800f33b0\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b2748\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::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) = a4->r;\n    *((_BYTE *)this + 353) = a4->g;\n    *((_WORD *)this + 177) = a4->b;\n  }\n  return 1;\n}", "assembly": "; \n; cocos2d::CCTransitionFade::initWithDuration from 0x1800549e0 to 0x180054a2a (74 bytes)\n; \n; 7 xrefs:\n; > cocos2d::CCTransitionFade::create @ 0x180052e38\n; > cocos2d::CCTransitionFade::create @ 0x180052ecc\n; > cocos2d::CCTransitionFade::create @ 0x180052e1c\n; > cocos2d::CCTransitionFade::create @ 0x180052eb4\n; > <???> @ 0x1800f33b0\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b2748\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, 0x1800549e0\npush    rdi                                                            ; +0x5, 0x1800549e5\nsub     rsp, 20h                                                       ; +0x6, 0x1800549e6\nmov     rdi, r9                                                        ; +0xa, 0x1800549ea\nmov     rbx, rcx                                                       ; +0xd, 0x1800549ed\ncall    ?initWithDuration@CCTransitionScene@cocos2d@@UEAA_NMPEAVCCScene@2@@Z; cocos2d::CCTransitionScene::initWithDuration(float,cocos2d::CCScene *) ; +0x10, 0x1800549f0\ntest    al, al                                                         ; +0x15, 0x1800549f5\njz      short loc_180054A1D                                            ; +0x17, 0x1800549f7\nmovzx   eax, byte ptr [rdi]                                            ; +0x19, 0x1800549f9\nmov     [rbx+160h], al                                                 ; +0x1c, 0x1800549fc\nmovzx   eax, byte ptr [rdi+1]                                          ; +0x22, 0x180054a02\nmov     [rbx+161h], al                                                 ; +0x26, 0x180054a06\nmovzx   eax, byte ptr [rdi+2]                                          ; +0x2c, 0x180054a0c\nmov     [rbx+162h], al                                                 ; +0x30, 0x180054a10\nmov     byte ptr [rbx+163h], 0                                         ; +0x36, 0x180054a16\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x3d, 0x180054a1d\nmov     al, 1                                                          ; +0x42, 0x180054a22\nadd     rsp, 20h                                                       ; +0x44, 0x180054a24\npop     rdi                                                            ; +0x48, 0x180054a28\nretn                                                                   ; +0x49, 0x180054a29", "xrefs": ["cocos2d::CCTransitionFade::create @ 0x180052e38", "cocos2d::CCTransitionFade::create @ 0x180052ecc", "cocos2d::CCTransitionFade::create @ 0x180052e1c", "cocos2d::CCTransitionFade::create @ 0x180052eb4", "<???> @ 0x1800f33b0", "<???> @ 0x1801438a8", "<???> @ 0x1801b2748"], "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"}