{"type": "func", "start": 4296105968, "end": 4296106096, "name": "GravityEffectSprite::create", "pseudocode": "// \n// GravityEffectSprite::create from 0x100115ff0 to 0x100116070 (128 bytes)\n// \n// 1 xrefs:\n// > PlayLayer::init @ 0x100115abc\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\nGravityEffectSprite *__fastcall GravityEffectSprite::create()\n{\n  GravityEffectSprite *v0; // x19\n\n  v0 = (GravityEffectSprite *)operator new(0x258u);\n  bzero(v0, 0x258u);\n  cocos2d::CCSprite::CCSprite(v0);\n  v0->cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (GravityEffectSprite_vtbl *)&off_1007907D0;\n  v0->cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)off_100790CA8;\n  v0->cocos2d::CCSprite::cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)off_100790D28;\n  if ( GravityEffectSprite::init(v0) )\n  {\n    cocos2d::CCObject::autorelease(v0);\n  }\n  else\n  {\n    ((void (__fastcall *)(GravityEffectSprite *))v0->~GravityEffectSprite_0)(v0);\n    return nullptr;\n  }\n  return v0;\n}", "assembly": "; \n; GravityEffectSprite::create from 0x100115ff0 to 0x100116070 (128 bytes)\n; \n; 1 xrefs:\n; > PlayLayer::init @ 0x100115abc\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             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100115ff0\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100115ff4\nADD             X29, SP, #0x10                                         ; +0x8, 0x100115ff8\nMOV             W0, #0x258; __sz                                       ; +0xc, 0x100115ffc\nBL              __Znwm; operator new(ulong)                            ; +0x10, 0x100116000\nMOV             X19, X0                                                ; +0x14, 0x100116004\nMOV             W1, #0x258; size_t                                     ; +0x18, 0x100116008\nBL              _bzero                                                 ; +0x1c, 0x10011600c\nMOV             X0, X19                                                ; +0x20, 0x100116010\nBL              cocos2d__CCSprite__CCSprite                            ; +0x24, 0x100116014\nADRL            X8, off_1007907D0                                      ; +0x28, 0x100116018\nSTR             X8, [X19]                                              ; +0x30, 0x100116020\nADD             X9, X8, #(off_100790CA8 - 0x1007907D0)                 ; +0x34, 0x100116024\nSTR             X9, [X19,#0x140]                                       ; +0x38, 0x100116028\nADD             X8, X8, #(off_100790D28 - 0x1007907D0)                 ; +0x3c, 0x10011602c\nSTR             X8, [X19,#0x158]                                       ; +0x40, 0x100116030\nMOV             X0, X19                                                ; +0x44, 0x100116034\nBL              GravityEffectSprite__init                              ; +0x48, 0x100116038\nCBZ             W0, loc_10011604C                                      ; +0x4c, 0x10011603c\nMOV             X0, X19                                                ; +0x50, 0x100116040\nBL              cocos2d__CCObject__autorelease                         ; +0x54, 0x100116044\nB               loc_100116060                                          ; +0x58, 0x100116048\nLDR             X8, [X19]                                              ; +0x5c, 0x10011604c\nLDR             X8, [X8,#0x10]                                         ; +0x60, 0x100116050\nMOV             X0, X19                                                ; +0x64, 0x100116054\nBLR             X8                                                     ; +0x68, 0x100116058\nMOV             X19, #0                                                ; +0x6c, 0x10011605c\nMOV             X0, X19                                                ; +0x70, 0x100116060\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x74, 0x100116064\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x78, 0x100116068\nRET                                                                    ; +0x7c, 0x10011606c", "xrefs": ["PlayLayer::init @ 0x100115abc"], "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"}