{"type": "func", "start": 6442778272, "end": 6442778350, "name": "cocos2d::CCLayerColor::init", "pseudocode": "// \n// cocos2d::CCLayerColor::init from 0x18004fea0 to 0x18004feee (78 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x1800ed930\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b1ed8\n// > <???> @ 0x1801b1ee4\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\nbool __fastcall cocos2d::CCLayerColor::init(cocos2d::CCLayerColor *this)\n{\n  cocos2d::CCDirector *v2; // rax\n  int v4; // [rsp+30h] [rbp+8h] BYREF\n\n  v2 = cocos2d::CCDirector::sharedDirector();\n  cocos2d::CCDirector::getWinSize(v2);\n  v4 = 0;\n  return ((bool (__fastcall *)(cocos2d::CCLayerColor *, int *))this->initWithColor_0)(this, &v4);\n}", "assembly": "; \n; cocos2d::CCLayerColor::init from 0x18004fea0 to 0x18004feee (78 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x1800ed930\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b1ed8\n; > <???> @ 0x1801b1ee4\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\npush    rbx                                                            ; +0x0, 0x18004fea0\nsub     rsp, 20h                                                       ; +0x2, 0x18004fea2\nmov     rbx, rcx                                                       ; +0x6, 0x18004fea6\ncall    ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x9, 0x18004fea9\nmov     rcx, rax                                                       ; +0xe, 0x18004feae\nlea     rdx, [rsp+28h+arg_8]                                           ; +0x11, 0x18004feb1\ncall    ?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0x16, 0x18004feb6\nmovss   xmm3, [rsp+28h+arg_C]                                          ; +0x1b, 0x18004febb\nlea     rdx, [rsp+28h+arg_0]                                           ; +0x21, 0x18004fec1\nmovss   xmm2, [rsp+28h+arg_8]                                          ; +0x26, 0x18004fec6\nmov     rcx, rbx                                                       ; +0x2c, 0x18004fecc\nmov     [rsp+28h+arg_0], 0                                             ; +0x2f, 0x18004fecf\nmov     eax, [rsp+28h+arg_0]                                           ; +0x37, 0x18004fed7\nmov     [rsp+28h+arg_0], eax                                           ; +0x3b, 0x18004fedb\nmov     rax, [rbx]                                                     ; +0x3f, 0x18004fedf\ncall    qword ptr [rax+400h]                                           ; +0x42, 0x18004fee2\nadd     rsp, 20h                                                       ; +0x48, 0x18004fee8\npop     rbx                                                            ; +0x4c, 0x18004feec\nretn                                                                   ; +0x4d, 0x18004feed", "xrefs": ["<???> @ 0x1800ed930", "<???> @ 0x1801438a8", "<???> @ 0x1801b1ed8", "<???> @ 0x1801b1ee4"], "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"}