{"type": "func", "start": 6442793360, "end": 6442793431, "name": "cocos2d::CCScene::init", "pseudocode": "// \n// cocos2d::CCScene::init from 0x180053990 to 0x1800539d7 (71 bytes)\n// \n// 42 xrefs:\n// > cocos2d::CCTransitionScene::initWithDuration @ 0x18005682a\n// > <???> @ 0x1800f4b20\n// > <???> @ 0x1800f4eb8\n// > <???> @ 0x1800f5248\n// > <???> @ 0x1800f55e0\n// > <???> @ 0x1800f5970\n// > <???> @ 0x1800f5d00\n// > <???> @ 0x1800f60b0\n// > <???> @ 0x1800f6460\n// > <???> @ 0x1800f6810\n// > <???> @ 0x1800f6bc0\n// > <???> @ 0x1800f6f70\n// > <???> @ 0x1800f7320\n// > <???> @ 0x1800f76d0\n// > <???> @ 0x1800f7a80\n// > <???> @ 0x1800f7e20\n// > <???> @ 0x1800f81b8\n// > <???> @ 0x1800f8550\n// > <???> @ 0x1800f88e8\n// > <???> @ 0x1800f8c80\n// > <???> @ 0x1800f9018\n// > <???> @ 0x1800f93b0\n// > <???> @ 0x1800f9748\n// > <???> @ 0x1800f9ad8\n// > <???> @ 0x1800f9e78\n// > <???> @ 0x1800fa220\n// > <???> @ 0x1800fa5c8\n// > <???> @ 0x1800fa970\n// > <???> @ 0x1800fad18\n// > <???> @ 0x1800fb0c0\n// > <???> @ 0x1800fb480\n// > <???> @ 0x1800fb818\n// > <???> @ 0x1800fbbb8\n// > <???> @ 0x1800fbf58\n// > <???> @ 0x1800fc2f8\n// > <???> @ 0x1800fc698\n// > <???> @ 0x1800fca38\n// > <???> @ 0x1800fcdd8\n// > <???> @ 0x180141704\n// > <???> @ 0x180141714\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bc568\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:46 +0000\n// \n\nbool __fastcall cocos2d::CCScene::init(cocos2d::CCScene *this)\n{\n  struct cocos2d::CCDirector *v2; // rax\n  __int64 v3; // rbx\n  __int64 v4; // rax\n  char v6; // [rsp+38h] [rbp+10h] BYREF\n\n  v2 = cocos2d::CCDirector::sharedDirector();\n  if ( v2 )\n  {\n    v3 = *(_QWORD *)this;\n    cocos2d::CCDirector::getWinSize(v2, &v6);\n    (*(void (__fastcall **)(cocos2d::CCScene *, __int64))(v3 + 312))(this, v4);\n    LOBYTE(v2) = 1;\n  }\n  return (char)v2;\n}", "assembly": "; \n; cocos2d::CCScene::init from 0x180053990 to 0x1800539d7 (71 bytes)\n; \n; 42 xrefs:\n; > cocos2d::CCTransitionScene::initWithDuration @ 0x18005682a\n; > <???> @ 0x1800f4b20\n; > <???> @ 0x1800f4eb8\n; > <???> @ 0x1800f5248\n; > <???> @ 0x1800f55e0\n; > <???> @ 0x1800f5970\n; > <???> @ 0x1800f5d00\n; > <???> @ 0x1800f60b0\n; > <???> @ 0x1800f6460\n; > <???> @ 0x1800f6810\n; > <???> @ 0x1800f6bc0\n; > <???> @ 0x1800f6f70\n; > <???> @ 0x1800f7320\n; > <???> @ 0x1800f76d0\n; > <???> @ 0x1800f7a80\n; > <???> @ 0x1800f7e20\n; > <???> @ 0x1800f81b8\n; > <???> @ 0x1800f8550\n; > <???> @ 0x1800f88e8\n; > <???> @ 0x1800f8c80\n; > <???> @ 0x1800f9018\n; > <???> @ 0x1800f93b0\n; > <???> @ 0x1800f9748\n; > <???> @ 0x1800f9ad8\n; > <???> @ 0x1800f9e78\n; > <???> @ 0x1800fa220\n; > <???> @ 0x1800fa5c8\n; > <???> @ 0x1800fa970\n; > <???> @ 0x1800fad18\n; > <???> @ 0x1800fb0c0\n; > <???> @ 0x1800fb480\n; > <???> @ 0x1800fb818\n; > <???> @ 0x1800fbbb8\n; > <???> @ 0x1800fbf58\n; > <???> @ 0x1800fc2f8\n; > <???> @ 0x1800fc698\n; > <???> @ 0x1800fca38\n; > <???> @ 0x1800fcdd8\n; > <???> @ 0x180141704\n; > <???> @ 0x180141714\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bc568\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:46 +0000\n; \npush    rdi                                                            ; +0x0, 0x180053990\nsub     rsp, 20h                                                       ; +0x2, 0x180053992\nmov     rdi, rcx                                                       ; +0x6, 0x180053996\ncall    ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x9, 0x180053999\ntest    rax, rax                                                       ; +0xe, 0x18005399e\njz      short loc_1800539D1                                            ; +0x11, 0x1800539a1\nmov     [rsp+28h+arg_0], rbx                                           ; +0x13, 0x1800539a3\nlea     rdx, [rsp+28h+arg_8]                                           ; +0x18, 0x1800539a8\nmov     rbx, [rdi]                                                     ; +0x1d, 0x1800539ad\nmov     rcx, rax                                                       ; +0x20, 0x1800539b0\ncall    ?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0x23, 0x1800539b3\nmov     rdx, rax                                                       ; +0x28, 0x1800539b8\nmov     rcx, rdi                                                       ; +0x2b, 0x1800539bb\ncall    qword ptr [rbx+138h]                                           ; +0x2e, 0x1800539be\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x34, 0x1800539c4\nmov     al, 1                                                          ; +0x39, 0x1800539c9\nadd     rsp, 20h                                                       ; +0x3b, 0x1800539cb\npop     rdi                                                            ; +0x3f, 0x1800539cf\nretn                                                                   ; +0x40, 0x1800539d0\nadd     rsp, 20h                                                       ; +0x41, 0x1800539d1\npop     rdi                                                            ; +0x45, 0x1800539d5\nretn                                                                   ; +0x46, 0x1800539d6", "xrefs": ["cocos2d::CCTransitionScene::initWithDuration @ 0x18005682a", "<???> @ 0x1800f4b20", "<???> @ 0x1800f4eb8", "<???> @ 0x1800f5248", "<???> @ 0x1800f55e0", "<???> @ 0x1800f5970", "<???> @ 0x1800f5d00", "<???> @ 0x1800f60b0", "<???> @ 0x1800f6460", "<???> @ 0x1800f6810", "<???> @ 0x1800f6bc0", "<???> @ 0x1800f6f70", "<???> @ 0x1800f7320", "<???> @ 0x1800f76d0", "<???> @ 0x1800f7a80", "<???> @ 0x1800f7e20", "<???> @ 0x1800f81b8", "<???> @ 0x1800f8550", "<???> @ 0x1800f88e8", "<???> @ 0x1800f8c80", "<???> @ 0x1800f9018", "<???> @ 0x1800f93b0", "<???> @ 0x1800f9748", "<???> @ 0x1800f9ad8", "<???> @ 0x1800f9e78", "<???> @ 0x1800fa220", "<???> @ 0x1800fa5c8", "<???> @ 0x1800fa970", "<???> @ 0x1800fad18", "<???> @ 0x1800fb0c0", "<???> @ 0x1800fb480", "<???> @ 0x1800fb818", "<???> @ 0x1800fbbb8", "<???> @ 0x1800fbf58", "<???> @ 0x1800fc2f8", "<???> @ 0x1800fc698", "<???> @ 0x1800fca38", "<???> @ 0x1800fcdd8", "<???> @ 0x180141704", "<???> @ 0x180141714", "<???> @ 0x18014cf68", "<???> @ 0x1801bc568"], "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"}