{"type": "func", "start": 4298700660, "end": 4298700840, "name": "CheckpointGameObject::create", "pseudocode": "// \n// CheckpointGameObject::create from 0x10038f774 to 0x10038f828 (180 bytes)\n// \n// 1 xrefs:\n// > GameObject::createWithKey @ 0x10025499c\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\nCheckpointGameObject *__fastcall CheckpointGameObject::create()\n{\n  CheckpointGameObject *v0; // x19\n\n  v0 = (CheckpointGameObject *)operator new(0x738u);\n  EffectGameObject::EffectGameObject(v0);\n  v0->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (CheckpointGameObject_vtbl *)&off_100801B08;\n  v0->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)off_100802250;\n  v0->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)off_1008022D0;\n  v0->m_checkpointActivated = 0;\n  v0->m_respawnID = 0;\n  if ( EnhancedGameObject::init(v0, \"checkpoint_d_01_001.png\") )\n  {\n    v0->m_classType = Effect;\n    v0->m_triggerTargetColor.b = -1;\n    *(_WORD *)&v0->m_triggerTargetColor.r = -1;\n    v0->m_duration = 0.5;\n    v0->m_legacyHSV = 1;\n    v0->m_objectType = Modifier;\n    v0->m_hasCustomAnimation = 1;\n    cocos2d::CCObject::autorelease(v0);\n  }\n  else\n  {\n    ((void (__fastcall *)(CheckpointGameObject *))v0->~CheckpointGameObject_0)(v0);\n    return nullptr;\n  }\n  return v0;\n}", "assembly": "; \n; CheckpointGameObject::create from 0x10038f774 to 0x10038f828 (180 bytes)\n; \n; 1 xrefs:\n; > GameObject::createWithKey @ 0x10025499c\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, 0x10038f774\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10038f778\nADD             X29, SP, #0x10                                         ; +0x8, 0x10038f77c\nMOV             W0, #0x738; __sz                                       ; +0xc, 0x10038f780\nBL              __Znwm; operator new(ulong)                            ; +0x10, 0x10038f784\nMOV             X19, X0                                                ; +0x14, 0x10038f788\nBL              EffectGameObject__EffectGameObject                     ; +0x18, 0x10038f78c\nADRL            X8, off_100801B08                                      ; +0x1c, 0x10038f790\nSTR             X8, [X19]                                              ; +0x24, 0x10038f798\nADD             X9, X8, #(off_100802250 - 0x100801B08)                 ; +0x28, 0x10038f79c\nSTR             X9, [X19,#0x140]                                       ; +0x2c, 0x10038f7a0\nADD             X8, X8, #(off_1008022D0 - 0x100801B08)                 ; +0x30, 0x10038f7a4\nSTR             X8, [X19,#0x158]                                       ; +0x34, 0x10038f7a8\nSTRB            WZR, [X19,#0x72C]                                      ; +0x38, 0x10038f7ac\nSTR             WZR, [X19,#0x730]                                      ; +0x3c, 0x10038f7b0\nADRL            X1, aCheckpointD010; \"checkpoint_d_01_001.png\"         ; +0x40, 0x10038f7b4\nMOV             X0, X19                                                ; +0x48, 0x10038f7bc\nBL              EnhancedGameObject__init                               ; +0x4c, 0x10038f7c0\nCBZ             W0, loc_10038F804                                      ; +0x50, 0x10038f7c4\nMOV             W8, #1                                                 ; +0x54, 0x10038f7c8\nSTR             W8, [X19,#0x4E0]                                       ; +0x58, 0x10038f7cc\nMOV             W9, #0xFF                                              ; +0x5c, 0x10038f7d0\nSTRB            W9, [X19,#0x5AA]                                       ; +0x60, 0x10038f7d4\nMOV             W9, #0xFFFF                                            ; +0x64, 0x10038f7d8\nSTRH            W9, [X19,#0x5A8]                                       ; +0x68, 0x10038f7dc\nMOV             W9, #0x3F000000                                        ; +0x6c, 0x10038f7e0\nSTR             W9, [X19,#0x5AC]                                       ; +0x70, 0x10038f7e4\nSTRB            W8, [X19,#0x664]                                       ; +0x74, 0x10038f7e8\nMOV             W9, #0x14                                              ; +0x78, 0x10038f7ec\nSTR             W9, [X19,#0x398]                                       ; +0x7c, 0x10038f7f0\nSTRB            W8, [X19,#0x56A]                                       ; +0x80, 0x10038f7f4\nMOV             X0, X19                                                ; +0x84, 0x10038f7f8\nBL              cocos2d__CCObject__autorelease                         ; +0x88, 0x10038f7fc\nB               loc_10038F818                                          ; +0x8c, 0x10038f800\nLDR             X8, [X19]                                              ; +0x90, 0x10038f804\nLDR             X8, [X8,#0x10]                                         ; +0x94, 0x10038f808\nMOV             X0, X19                                                ; +0x98, 0x10038f80c\nBLR             X8                                                     ; +0x9c, 0x10038f810\nMOV             X19, #0                                                ; +0xa0, 0x10038f814\nMOV             X0, X19                                                ; +0xa4, 0x10038f818\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0xa8, 0x10038f81c\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0xac, 0x10038f820\nRET                                                                    ; +0xb0, 0x10038f824", "xrefs": ["GameObject::createWithKey @ 0x10025499c"], "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"}