{"type": "func", "start": 4296887920, "end": 4296888111, "name": "CheckpointGameObject::create", "pseudocode": "// \n// CheckpointGameObject::create from 0x1001d4e70 to 0x1001d4f2f (191 bytes)\n// \n// 1 xrefs:\n// > GameObject::createWithKey @ 0x10059d6b5\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; // rbx\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_1008D0A90;\n  v0->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)off_1008D11D8;\n  v0->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)off_1008D1258;\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 0x1001d4e70 to 0x1001d4f2f (191 bytes)\n; \n; 1 xrefs:\n; > GameObject::createWithKey @ 0x10059d6b5\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, 0x1001d4e70\nmov     rbp, rsp                                                       ; +0x1, 0x1001d4e71\npush    r14                                                            ; +0x4, 0x1001d4e74\npush    rbx                                                            ; +0x6, 0x1001d4e76\nmov     edi, 738h; __sz                                                ; +0x7, 0x1001d4e77\ncall    __Znwm; operator new(ulong)                                    ; +0xc, 0x1001d4e7c\nmov     rbx, rax                                                       ; +0x11, 0x1001d4e81\nmov     rdi, rax                                                       ; +0x14, 0x1001d4e84\ncall    EffectGameObject__EffectGameObject                             ; +0x17, 0x1001d4e87\nlea     rax, off_1008D0A90                                             ; +0x1c, 0x1001d4e8c\nmov     [rbx], rax                                                     ; +0x23, 0x1001d4e93\nlea     rax, off_1008D11D8                                             ; +0x26, 0x1001d4e96\nmov     [rbx+140h], rax                                                ; +0x2d, 0x1001d4e9d\nlea     rax, off_1008D1258                                             ; +0x34, 0x1001d4ea4\nmov     [rbx+158h], rax                                                ; +0x3b, 0x1001d4eab\nmov     byte ptr [rbx+72Ch], 0                                         ; +0x42, 0x1001d4eb2\nmov     dword ptr [rbx+730h], 0                                        ; +0x49, 0x1001d4eb9\nlea     rsi, aCheckpointD010; \"checkpoint_d_01_001.png\"                ; +0x53, 0x1001d4ec3\nmov     rdi, rbx                                                       ; +0x5a, 0x1001d4eca\ncall    EnhancedGameObject__init                                       ; +0x5d, 0x1001d4ecd\ntest    al, al                                                         ; +0x62, 0x1001d4ed2\njz      short loc_1001D4F1C                                            ; +0x64, 0x1001d4ed4\nmov     dword ptr [rbx+4E0h], 1                                        ; +0x66, 0x1001d4ed6\nmov     byte ptr [rbx+5AAh], 0FFh                                      ; +0x70, 0x1001d4ee0\nmov     word ptr [rbx+5A8h], 0FFFFh                                    ; +0x77, 0x1001d4ee7\nmov     dword ptr [rbx+5ACh], 3F000000h                                ; +0x80, 0x1001d4ef0\nmov     byte ptr [rbx+664h], 1                                         ; +0x8a, 0x1001d4efa\nmov     dword ptr [rbx+398h], 14h                                      ; +0x91, 0x1001d4f01\nmov     byte ptr [rbx+56Ah], 1                                         ; +0x9b, 0x1001d4f0b\nmov     rdi, rbx                                                       ; +0xa2, 0x1001d4f12\ncall    cocos2d__CCObject__autorelease                                 ; +0xa5, 0x1001d4f15\njmp     short loc_1001D4F27                                            ; +0xaa, 0x1001d4f1a\nmov     rax, [rbx]                                                     ; +0xac, 0x1001d4f1c\nmov     rdi, rbx                                                       ; +0xaf, 0x1001d4f1f\ncall    qword ptr [rax+10h]                                            ; +0xb2, 0x1001d4f22\nxor     ebx, ebx                                                       ; +0xb5, 0x1001d4f25\nmov     rax, rbx                                                       ; +0xb7, 0x1001d4f27\npop     rbx                                                            ; +0xba, 0x1001d4f2a\npop     r14                                                            ; +0xbb, 0x1001d4f2b\npop     rbp                                                            ; +0xbd, 0x1001d4f2d\nretn                                                                   ; +0xbe, 0x1001d4f2e", "xrefs": ["GameObject::createWithKey @ 0x10059d6b5"], "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"}