{"type": "func", "start": 3035908, "end": 3036058, "name": "CCContentLayer::create", "pseudocode": "// \n// CCContentLayer::create from 0x2e5304 to 0x2e539a (150 bytes)\n// \n// 1 xrefs:\n// > CCScrollLayerExt::CCScrollLayerExt @ 0x2e83be\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 *CCContentLayer::create(const cocos2d::ccColor4B *a1, float a2, float a3)\n{\n  CCContentLayer *v6; // r4\n\n  v6 = (CCContentLayer *)operator new(0x1B8u);\n  memset(v6, 0, sizeof(CCContentLayer));\n  cocos2d::CCLayerColor::CCLayerColor(v6);\n  v6->cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (CCContentLayer_vtbl *)&off_A3C708;\n  v6->cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&off_A3C994;\n  v6->cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_A3C9CC;\n  v6->cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_A3C9D8;\n  v6->cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_A3C9E8;\n  v6->cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&off_A3C9F8;\n  v6->cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_A3CA0C;\n  v6->cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&off_A3CA4C;\n  if ( cocos2d::CCLayerColor::initWithColor(v6, a1, a2, a3) )\n  {\n    cocos2d::CCObject::autorelease(v6);\n    return v6;\n  }\n  else\n  {\n    v6->~CCContentLayer_0(v6);\n    return nullptr;\n  }\n}", "assembly": "; \n; CCContentLayer::create from 0x2e5304 to 0x2e539a (150 bytes)\n; \n; 1 xrefs:\n; > CCScrollLayerExt::CCScrollLayerExt @ 0x2e83be\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            {R3-R7,LR}                                             ; +0x0, 0x2e5304\nMOV             R7, R0                                                 ; +0x2, 0x2e5306\nMOV.W           R0, #0x1B8; unsigned int                               ; +0x4, 0x2e5308\nMOV             R6, R1                                                 ; +0x8, 0x2e530c\nMOV             R5, R2                                                 ; +0xa, 0x2e530e\nBL              _Znwj; operator new(uint)                              ; +0xc, 0x2e5310\nMOVS            R1, #0; int                                            ; +0x10, 0x2e5314\nMOV.W           R2, #0x1B8; size_t                                     ; +0x12, 0x2e5316\nMOV             R4, R0                                                 ; +0x16, 0x2e531a\nBLX             memset                                                 ; +0x18, 0x2e531c\nMOV             R0, R4; this                                           ; +0x1c, 0x2e5320\nBL              _ZN7cocos2d12CCLayerColorC2Ev; cocos2d::CCLayerColor::CCLayerColor(void) ; +0x1e, 0x2e5322\nLDR             R3, =(_ZTV14CCContentLayer_ptr - 0x2E5330)             ; +0x22, 0x2e5326\nMOV             R0, R4                                                 ; +0x24, 0x2e5328\nMOV             R1, R7                                                 ; +0x26, 0x2e532a\nADD             R3, PC; _ZTV14CCContentLayer_ptr                       ; +0x28, 0x2e532c\nLDR             R3, [R3]; `vtable for'CCContentLayer ...               ; +0x2a, 0x2e532e\nADD.W           R2, R3, #8                                             ; +0x2c, 0x2e5330\nSTR             R2, [R4]                                               ; +0x30, 0x2e5334\nADD.W           R2, R3, #0x294                                         ; +0x32, 0x2e5336\nSTR.W           R2, [R4,#0x108]                                        ; +0x36, 0x2e533a\nADD.W           R2, R3, #0x2CC                                         ; +0x3a, 0x2e533e\nSTR.W           R2, [R4,#0x10C]                                        ; +0x3e, 0x2e5342\nADD.W           R2, R3, #0x2D8                                         ; +0x42, 0x2e5346\nSTR.W           R2, [R4,#0x110]                                        ; +0x46, 0x2e534a\nADD.W           R2, R3, #0x2E8                                         ; +0x4a, 0x2e534e\nSTR.W           R2, [R4,#0x114]                                        ; +0x4e, 0x2e5352\nADD.W           R2, R3, #0x2F8                                         ; +0x52, 0x2e5356\nSTR.W           R2, [R4,#0x118]                                        ; +0x56, 0x2e535a\nADD.W           R2, R3, #0x30C                                         ; +0x5a, 0x2e535e\nADD.W           R3, R3, #0x34C                                         ; +0x5e, 0x2e5362\nSTR.W           R2, [R4,#0x13C]                                        ; +0x62, 0x2e5366\nMOV             R2, R6                                                 ; +0x66, 0x2e536a\nSTR.W           R3, [R4,#0x14C]                                        ; +0x68, 0x2e536c\nMOV             R3, R5                                                 ; +0x6c, 0x2e5370\nBL              _ZN7cocos2d12CCLayerColor13initWithColorERKNS_10_ccColor4BEff; cocos2d::CCLayerColor::initWithColor(cocos2d::_ccColor4B const&,float,float) ; +0x6e, 0x2e5372\nMOV             R5, R0                                                 ; +0x72, 0x2e5376\nCBZ             R0, loc_2E538E                                         ; +0x74, 0x2e5378\nMOV             R0, R4; this                                           ; +0x76, 0x2e537a\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x78, 0x2e537c\nMOV             R0, R4                                                 ; +0x7c, 0x2e5380\nPOP             {R3-R7,PC}                                             ; +0x7e, 0x2e5382\nMOV             R0, R4; p                                              ; +0x80, 0x2e5384\nBL              _ZdlPv; operator delete(void *)                        ; +0x82, 0x2e5386\nBL              __cxa_end_cleanup                                      ; +0x86, 0x2e538a\nLDR             R3, [R4]                                               ; +0x8a, 0x2e538e\nMOV             R0, R4                                                 ; +0x8c, 0x2e5390\nLDR             R3, [R3,#8]                                            ; +0x8e, 0x2e5392\nBLX             R3                                                     ; +0x90, 0x2e5394\nMOV             R0, R5                                                 ; +0x92, 0x2e5396\nPOP             {R3-R7,PC}                                             ; +0x94, 0x2e5398", "xrefs": ["CCScrollLayerExt::CCScrollLayerExt @ 0x2e83be"], "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"}