{"type": "func", "start": 6442786496, "end": 6442786570, "name": "cocos2d::CCLayerColor::initWithColor", "pseudocode": "// \n// cocos2d::CCLayerColor::initWithColor from 0x180051ec0 to 0x180051f0a (74 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x1800f3e80\n// > <???> @ 0x1800f4408\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bc1d8\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\nchar __fastcall cocos2d::CCLayerColor::initWithColor(cocos2d::CCLayerColor *this, const struct cocos2d::_ccColor4B *a2)\n{\n  struct cocos2d::CCDirector *v4; // rax\n  int v6; // [rsp+30h] [rbp+8h] BYREF\n\n  v4 = cocos2d::CCDirector::sharedDirector();\n  cocos2d::CCDirector::getWinSize(v4, &v6);\n  (*(void (__fastcall **)(cocos2d::CCLayerColor *, const struct cocos2d::_ccColor4B *))(*(_QWORD *)this + 1040LL))(\n    this,\n    a2);\n  return 1;\n}", "assembly": "; \n; cocos2d::CCLayerColor::initWithColor from 0x180051ec0 to 0x180051f0a (74 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x1800f3e80\n; > <???> @ 0x1800f4408\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bc1d8\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; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x180051ec0\npush    rdi                                                            ; +0x5, 0x180051ec5\nsub     rsp, 20h                                                       ; +0x6, 0x180051ec6\nmov     rbx, rdx                                                       ; +0xa, 0x180051eca\nmov     rdi, rcx                                                       ; +0xd, 0x180051ecd\ncall    ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x10, 0x180051ed0\nmov     rcx, rax                                                       ; +0x15, 0x180051ed5\nlea     rdx, [rsp+28h+arg_0]                                           ; +0x18, 0x180051ed8\ncall    ?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0x1d, 0x180051edd\nmov     rax, [rdi]                                                     ; +0x22, 0x180051ee2\nmov     rdx, rbx                                                       ; +0x25, 0x180051ee5\nmovss   xmm3, [rsp+28h+arg_4]                                          ; +0x28, 0x180051ee8\nmov     rcx, rdi                                                       ; +0x2e, 0x180051eee\nmovss   xmm2, [rsp+28h+arg_0]                                          ; +0x31, 0x180051ef1\ncall    qword ptr [rax+410h]                                           ; +0x37, 0x180051ef7\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x3d, 0x180051efd\nmov     al, 1                                                          ; +0x42, 0x180051f02\nadd     rsp, 20h                                                       ; +0x44, 0x180051f04\npop     rdi                                                            ; +0x48, 0x180051f08\nretn                                                                   ; +0x49, 0x180051f09", "xrefs": ["<???> @ 0x1800f3e80", "<???> @ 0x1800f4408", "<???> @ 0x18014cf68", "<???> @ 0x1801bc1d8"], "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"}