{"type": "func", "start": 4303104400, "end": 4303104624, "name": "CCContentLayer::create", "pseudocode": "// \n// CCContentLayer::create from 0x1007c2990 to 0x1007c2a70 (224 bytes)\n// \n// 1 xrefs:\n// > CCScrollLayerExt::CCScrollLayerExt @ 0x10042df9b\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\nCCContentLayer *__fastcall CCContentLayer::create(const cocos2d::ccColor4B *a1, float a2, float a3)\n{\n  CCContentLayer *v3; // rbx\n\n  v3 = (CCContentLayer *)operator new(0x220u);\n  __bzero(v3, 544);\n  cocos2d::CCLayerColor::CCLayerColor((__int64)v3);\n  v3->cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (CCContentLayer_vtbl *)off_1009953E8;\n  v3->cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_100995900;\n  v3->cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_100995970;\n  v3->cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)off_100995988;\n  v3->cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)off_1009959A8;\n  v3->cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_1009959C8;\n  v3->cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)off_1009959F0;\n  v3->cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)off_100995A70;\n  if ( cocos2d::CCLayerColor::initWithColor_1(v3, a1, a2, a3) )\n  {\n    cocos2d::CCObject::autorelease(v3);\n  }\n  else\n  {\n    ((void (__fastcall *)(CCContentLayer *))v3->~CCContentLayer_0)(v3);\n    return nullptr;\n  }\n  return v3;\n}", "assembly": "; \n; CCContentLayer::create from 0x1007c2990 to 0x1007c2a70 (224 bytes)\n; \n; 1 xrefs:\n; > CCScrollLayerExt::CCScrollLayerExt @ 0x10042df9b\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    rbp                                                            ; +0x0, 0x1007c2990\nmov     rbp, rsp                                                       ; +0x1, 0x1007c2991\npush    r14                                                            ; +0x4, 0x1007c2994\npush    rbx                                                            ; +0x6, 0x1007c2996\nsub     rsp, 10h                                                       ; +0x7, 0x1007c2997\nmovss   [rbp+var_18], xmm1                                             ; +0xb, 0x1007c299b\nmovss   [rbp+var_14], xmm0                                             ; +0x10, 0x1007c29a0\nmov     r14, rdi                                                       ; +0x15, 0x1007c29a5\nmov     edi, 220h; __sz                                                ; +0x18, 0x1007c29a8\ncall    __Znwm; operator new(ulong)                                    ; +0x1d, 0x1007c29ad\nmov     rbx, rax                                                       ; +0x22, 0x1007c29b2\nmov     esi, 220h                                                      ; +0x25, 0x1007c29b5\nmov     rdi, rax                                                       ; +0x2a, 0x1007c29ba\ncall    ___bzero                                                       ; +0x2d, 0x1007c29bd\nmov     rdi, rbx                                                       ; +0x32, 0x1007c29c2\ncall    cocos2d__CCLayerColor__CCLayerColor                            ; +0x35, 0x1007c29c5\nlea     rax, off_1009953E8                                             ; +0x3a, 0x1007c29ca\nmov     [rbx], rax                                                     ; +0x41, 0x1007c29d1\nlea     rax, off_100995900                                             ; +0x44, 0x1007c29d4\nmov     [rbx+140h], rax                                                ; +0x4b, 0x1007c29db\nlea     rax, off_100995970                                             ; +0x52, 0x1007c29e2\nmov     [rbx+148h], rax                                                ; +0x59, 0x1007c29e9\nlea     rax, off_100995988                                             ; +0x60, 0x1007c29f0\nmov     [rbx+150h], rax                                                ; +0x67, 0x1007c29f7\nlea     rax, off_1009959A8                                             ; +0x6e, 0x1007c29fe\nmov     [rbx+158h], rax                                                ; +0x75, 0x1007c2a05\nlea     rax, off_1009959C8                                             ; +0x7c, 0x1007c2a0c\nmov     [rbx+160h], rax                                                ; +0x83, 0x1007c2a13\nlea     rax, off_1009959F0                                             ; +0x8a, 0x1007c2a1a\nmov     [rbx+198h], rax                                                ; +0x91, 0x1007c2a21\nlea     rax, off_100995A70                                             ; +0x98, 0x1007c2a28\nmov     [rbx+1B0h], rax                                                ; +0x9f, 0x1007c2a2f\nmov     rdi, rbx                                                       ; +0xa6, 0x1007c2a36\nmov     rsi, r14                                                       ; +0xa9, 0x1007c2a39\nmovss   xmm0, [rbp+var_14]                                             ; +0xac, 0x1007c2a3c\nmovss   xmm1, [rbp+var_18]                                             ; +0xb1, 0x1007c2a41\ncall    cocos2d__CCLayerColor__initWithColor_1                         ; +0xb6, 0x1007c2a46\ntest    al, al                                                         ; +0xbb, 0x1007c2a4b\njz      short loc_1007C2A59                                            ; +0xbd, 0x1007c2a4d\nmov     rdi, rbx                                                       ; +0xbf, 0x1007c2a4f\ncall    cocos2d__CCObject__autorelease                                 ; +0xc2, 0x1007c2a52\njmp     short loc_1007C2A64                                            ; +0xc7, 0x1007c2a57\nmov     rax, [rbx]                                                     ; +0xc9, 0x1007c2a59\nmov     rdi, rbx                                                       ; +0xcc, 0x1007c2a5c\ncall    qword ptr [rax+10h]                                            ; +0xcf, 0x1007c2a5f\nxor     ebx, ebx                                                       ; +0xd2, 0x1007c2a62\nmov     rax, rbx                                                       ; +0xd4, 0x1007c2a64\nadd     rsp, 10h                                                       ; +0xd7, 0x1007c2a67\npop     rbx                                                            ; +0xdb, 0x1007c2a6b\npop     r14                                                            ; +0xdc, 0x1007c2a6c\npop     rbp                                                            ; +0xde, 0x1007c2a6e\nretn                                                                   ; +0xdf, 0x1007c2a6f", "xrefs": ["CCScrollLayerExt::CCScrollLayerExt @ 0x10042df9b"], "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"}