{"type": "func", "start": 4296600084, "end": 4296600276, "name": "CCContentLayer::create", "pseudocode": "// \n// CCContentLayer::create from 0x10018ea14 to 0x10018ead4 (192 bytes)\n// \n// 1 xrefs:\n// > CCScrollLayerExt::CCScrollLayerExt @ 0x10030086c\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 *v6; // x19\n\n  v6 = (CCContentLayer *)operator new(0x220u);\n  bzero(v6, 0x220u);\n  cocos2d::CCLayerColor::CCLayerColor((__int64)v6);\n  v6->cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (CCContentLayer_vtbl *)&off_1007A66F0;\n  v6->cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_1007A6C08;\n  v6->cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_1007A6C78;\n  v6->cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)off_1007A6C90;\n  v6->cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_1007A6CB0;\n  v6->cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_1007A6CD0;\n  v6->cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)off_1007A6CF8;\n  v6->cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)off_1007A6D78;\n  if ( cocos2d::CCLayerColor::initWithColor_1(v6, a1, a2, a3) )\n  {\n    cocos2d::CCObject::autorelease(v6);\n  }\n  else\n  {\n    ((void (__fastcall *)(CCContentLayer *))v6->~CCContentLayer_0)(v6);\n    return nullptr;\n  }\n  return v6;\n}", "assembly": "; \n; CCContentLayer::create from 0x10018ea14 to 0x10018ead4 (192 bytes)\n; \n; 1 xrefs:\n; > CCScrollLayerExt::CCScrollLayerExt @ 0x10030086c\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\nSTP             D9, D8, [SP,#-0x10+var_20]!                            ; +0x0, 0x10018ea14\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x10018ea18\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x10018ea1c\nADD             X29, SP, #0x20                                         ; +0xc, 0x10018ea20\nFMOV            S8, S1                                                 ; +0x10, 0x10018ea24\nFMOV            S9, S0                                                 ; +0x14, 0x10018ea28\nMOV             X20, X0                                                ; +0x18, 0x10018ea2c\nMOV             W0, #0x220; __sz                                       ; +0x1c, 0x10018ea30\nBL              __Znwm; operator new(ulong)                            ; +0x20, 0x10018ea34\nMOV             X19, X0                                                ; +0x24, 0x10018ea38\nMOV             W1, #0x220; size_t                                     ; +0x28, 0x10018ea3c\nBL              _bzero                                                 ; +0x2c, 0x10018ea40\nMOV             X0, X19                                                ; +0x30, 0x10018ea44\nBL              cocos2d__CCLayerColor__CCLayerColor                    ; +0x34, 0x10018ea48\nADRL            X8, off_1007A66F0                                      ; +0x38, 0x10018ea4c\nSTR             X8, [X19]                                              ; +0x40, 0x10018ea54\nADD             X9, X8, #(off_1007A6C08 - 0x1007A66F0)                 ; +0x44, 0x10018ea58\nADD             X10, X8, #(off_1007A6C78 - 0x1007A66F0)                ; +0x48, 0x10018ea5c\nSTP             X9, X10, [X19,#0x140]                                  ; +0x4c, 0x10018ea60\nADD             X9, X8, #(off_1007A6C90 - 0x1007A66F0)                 ; +0x50, 0x10018ea64\nADD             X10, X8, #(off_1007A6CB0 - 0x1007A66F0)                ; +0x54, 0x10018ea68\nSTP             X9, X10, [X19,#0x150]                                  ; +0x58, 0x10018ea6c\nADD             X9, X8, #(off_1007A6CD0 - 0x1007A66F0)                 ; +0x5c, 0x10018ea70\nSTR             X9, [X19,#0x160]                                       ; +0x60, 0x10018ea74\nADD             X9, X8, #(off_1007A6CF8 - 0x1007A66F0)                 ; +0x64, 0x10018ea78\nSTR             X9, [X19,#0x198]                                       ; +0x68, 0x10018ea7c\nADD             X8, X8, #(off_1007A6D78 - 0x1007A66F0)                 ; +0x6c, 0x10018ea80\nSTR             X8, [X19,#0x1B0]                                       ; +0x70, 0x10018ea84\nMOV             X0, X19                                                ; +0x74, 0x10018ea88\nMOV             X1, X20                                                ; +0x78, 0x10018ea8c\nFMOV            S0, S9                                                 ; +0x7c, 0x10018ea90\nFMOV            S1, S8                                                 ; +0x80, 0x10018ea94\nBL              cocos2d__CCLayerColor__initWithColor_1                 ; +0x84, 0x10018ea98\nCBZ             W0, loc_10018EAAC                                      ; +0x88, 0x10018ea9c\nMOV             X0, X19                                                ; +0x8c, 0x10018eaa0\nBL              cocos2d__CCObject__autorelease                         ; +0x90, 0x10018eaa4\nB               loc_10018EAC0                                          ; +0x94, 0x10018eaa8\nLDR             X8, [X19]                                              ; +0x98, 0x10018eaac\nLDR             X8, [X8,#0x10]                                         ; +0x9c, 0x10018eab0\nMOV             X0, X19                                                ; +0xa0, 0x10018eab4\nBLR             X8                                                     ; +0xa4, 0x10018eab8\nMOV             X19, #0                                                ; +0xa8, 0x10018eabc\nMOV             X0, X19                                                ; +0xac, 0x10018eac0\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0xb0, 0x10018eac4\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0xb4, 0x10018eac8\nLDP             D9, D8, [SP+0x20+var_20],#0x30                         ; +0xb8, 0x10018eacc\nRET                                                                    ; +0xbc, 0x10018ead0", "xrefs": ["CCScrollLayerExt::CCScrollLayerExt @ 0x10030086c"], "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"}