{"type": "func", "start": 6442786000, "end": 6442786070, "name": "cocos2d::CCLayerColor::init", "pseudocode": "// \n// cocos2d::CCLayerColor::init from 0x180051cd0 to 0x180051d16 (70 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x1800f3ac0\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bc16c\n// > <???> @ 0x1801bc178\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:45 +0000\n// \n\nbool __fastcall cocos2d::CCLayerColor::init(cocos2d::CCLayerColor *this)\n{\n  struct cocos2d::CCDirector *v2; // rax\n  __int64 v3; // rax\n  int v5; // [rsp+30h] [rbp+8h] BYREF\n  int v6; // [rsp+38h] [rbp+10h] BYREF\n\n  v2 = cocos2d::CCDirector::sharedDirector();\n  cocos2d::CCDirector::getWinSize(v2, &v6);\n  v3 = *(_QWORD *)this;\n  v5 = 0;\n  return (*(bool (__fastcall **)(cocos2d::CCLayerColor *, int *))(v3 + 1040))(this, &v5);\n}", "assembly": "; \n; cocos2d::CCLayerColor::init from 0x180051cd0 to 0x180051d16 (70 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x1800f3ac0\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bc16c\n; > <???> @ 0x1801bc178\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:45 +0000\n; \npush    rbx                                                            ; +0x0, 0x180051cd0\nsub     rsp, 20h                                                       ; +0x2, 0x180051cd2\nmov     rbx, rcx                                                       ; +0x6, 0x180051cd6\ncall    ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x9, 0x180051cd9\nmov     rcx, rax                                                       ; +0xe, 0x180051cde\nlea     rdx, [rsp+28h+arg_8]                                           ; +0x11, 0x180051ce1\ncall    ?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0x16, 0x180051ce6\nmov     rax, [rbx]                                                     ; +0x1b, 0x180051ceb\nlea     rdx, [rsp+28h+arg_0]                                           ; +0x1e, 0x180051cee\nmovss   xmm3, [rsp+28h+arg_C]                                          ; +0x23, 0x180051cf3\nmov     rcx, rbx                                                       ; +0x29, 0x180051cf9\nmovss   xmm2, [rsp+28h+arg_8]                                          ; +0x2c, 0x180051cfc\nmov     [rsp+28h+arg_0], 0                                             ; +0x32, 0x180051d02\ncall    qword ptr [rax+410h]                                           ; +0x3a, 0x180051d0a\nadd     rsp, 20h                                                       ; +0x40, 0x180051d10\npop     rbx                                                            ; +0x44, 0x180051d14\nretn                                                                   ; +0x45, 0x180051d15", "xrefs": ["<???> @ 0x1800f3ac0", "<???> @ 0x18014cf68", "<???> @ 0x1801bc16c", "<???> @ 0x1801bc178"], "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"}