{"type": "func", "start": 5373669440, "end": 5373669837, "name": "CheckpointGameObject::resetCheckpoint", "pseudocode": "// \n// CheckpointGameObject::resetCheckpoint from 0x1404bb040 to 0x1404bb1cd (397 bytes)\n// \n// 3 xrefs:\n// > CheckpointGameObject::resetObject @ 0x1404bb02a\n// > CheckpointGameObject::restoreObject @ 0x1404bb1e2\n// > <???> @ 0x1406dcd70\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\nvoid CheckpointGameObject::resetCheckpoint(CheckpointGameObject *a1)\n{\n  CheckpointGameObject_vtbl *v1; // rax\n  __int64 v3; // rax\n  __int64 v4; // rdx\n  cocos2d::CCNode *v5; // rax\n  _BOOL8 v6; // rdx\n  cocos2d::CCNode *v7; // rax\n  _BOOL8 v8; // rdx\n  cocos2d::CCNode *v9; // rax\n  cocos2d::CCNode *v10; // rax\n  _BOOL8 v11; // rdx\n  cocos2d::CCNode *v12; // rax\n  _BOOL8 v13; // rdx\n  cocos2d::CCNode *v14; // rax\n  _BOOL8 v15; // rdx\n  cocos2d::CCNode *v16; // rax\n\n  v1 = a1->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n  a1->m_checkpointActivated = 0;\n  v3 = (__int64)v1->getChildByTag(a1, 1125);\n  LOBYTE(v4) = !a1->m_checkpointActivated;\n  (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 320LL))(v3, v4);\n  v5 = a1->getChildByTag(a1, 1126);\n  LOBYTE(v6) = !a1->m_checkpointActivated;\n  v5->setVisible(v5, v6);\n  v7 = a1->getChildByTag(a1, 1127);\n  LOBYTE(v8) = !a1->m_checkpointActivated;\n  v7->setVisible(v7, v8);\n  v9 = a1->getChildByTag(a1, 1128);\n  v9->setVisible(v9, a1->m_checkpointActivated);\n  v10 = a1->m_colorSprite->getChildByTag(a1->m_colorSprite, 1125);\n  LOBYTE(v11) = !a1->m_checkpointActivated;\n  v10->setVisible(v10, v11);\n  v12 = a1->m_colorSprite->getChildByTag(a1->m_colorSprite, 1126);\n  LOBYTE(v13) = !a1->m_checkpointActivated;\n  v12->setVisible(v12, v13);\n  v14 = a1->m_colorSprite->getChildByTag(a1->m_colorSprite, 1127);\n  LOBYTE(v15) = !a1->m_checkpointActivated;\n  v14->setVisible(v14, v15);\n  v16 = a1->m_colorSprite->getChildByTag(a1->m_colorSprite, 1128);\n  v16->setVisible(v16, a1->m_checkpointActivated);\n  if ( a1->m_checkpointActivated )\n  {\n    a1->setObjectColor(a1, (const cocos2d::ccColor3B *)&word_140529C94);\n    a1->m_isColorSpriteBlack = 1;\n  }\n  else\n  {\n    a1->m_isColorSpriteBlack = 0;\n  }\n}", "assembly": "; \n; CheckpointGameObject::resetCheckpoint from 0x1404bb040 to 0x1404bb1cd (397 bytes)\n; \n; 3 xrefs:\n; > CheckpointGameObject::resetObject @ 0x1404bb02a\n; > CheckpointGameObject::restoreObject @ 0x1404bb1e2\n; > <???> @ 0x1406dcd70\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    rbx                                                            ; +0x0, 0x1404bb040\nsub     rsp, 20h                                                       ; +0x2, 0x1404bb042\nmov     rax, [rcx]                                                     ; +0x6, 0x1404bb046\nmov     edx, 465h                                                      ; +0x9, 0x1404bb049\nmov     rbx, rcx                                                       ; +0xe, 0x1404bb04e\nmov     byte ptr [rcx+740h], 0                                         ; +0x11, 0x1404bb051\ncall    qword ptr [rax+1C8h]                                           ; +0x18, 0x1404bb058\ncmp     byte ptr [rbx+740h], 0                                         ; +0x1e, 0x1404bb05e\nmov     rcx, rax                                                       ; +0x25, 0x1404bb065\nsetz    dl                                                             ; +0x28, 0x1404bb068\nmov     r8, [rax]                                                      ; +0x2b, 0x1404bb06b\ncall    qword ptr [r8+140h]                                            ; +0x2e, 0x1404bb06e\nmov     rax, [rbx]                                                     ; +0x35, 0x1404bb075\nmov     edx, 466h                                                      ; +0x38, 0x1404bb078\nmov     rcx, rbx                                                       ; +0x3d, 0x1404bb07d\ncall    qword ptr [rax+1C8h]                                           ; +0x40, 0x1404bb080\ncmp     byte ptr [rbx+740h], 0                                         ; +0x46, 0x1404bb086\nmov     rcx, rax                                                       ; +0x4d, 0x1404bb08d\nsetz    dl                                                             ; +0x50, 0x1404bb090\nmov     r8, [rax]                                                      ; +0x53, 0x1404bb093\ncall    qword ptr [r8+140h]                                            ; +0x56, 0x1404bb096\nmov     rax, [rbx]                                                     ; +0x5d, 0x1404bb09d\nmov     edx, 467h                                                      ; +0x60, 0x1404bb0a0\nmov     rcx, rbx                                                       ; +0x65, 0x1404bb0a5\ncall    qword ptr [rax+1C8h]                                           ; +0x68, 0x1404bb0a8\ncmp     byte ptr [rbx+740h], 0                                         ; +0x6e, 0x1404bb0ae\nmov     rcx, rax                                                       ; +0x75, 0x1404bb0b5\nsetz    dl                                                             ; +0x78, 0x1404bb0b8\nmov     r8, [rax]                                                      ; +0x7b, 0x1404bb0bb\ncall    qword ptr [r8+140h]                                            ; +0x7e, 0x1404bb0be\nmov     rax, [rbx]                                                     ; +0x85, 0x1404bb0c5\nmov     edx, 468h                                                      ; +0x88, 0x1404bb0c8\nmov     rcx, rbx                                                       ; +0x8d, 0x1404bb0cd\ncall    qword ptr [rax+1C8h]                                           ; +0x90, 0x1404bb0d0\nmovzx   edx, byte ptr [rbx+740h]                                       ; +0x96, 0x1404bb0d6\nmov     rcx, rax                                                       ; +0x9d, 0x1404bb0dd\nmov     r8, [rax]                                                      ; +0xa0, 0x1404bb0e0\ncall    qword ptr [r8+140h]                                            ; +0xa3, 0x1404bb0e3\nmov     rcx, [rbx+380h]                                                ; +0xaa, 0x1404bb0ea\nmov     edx, 465h                                                      ; +0xb1, 0x1404bb0f1\nmov     rax, [rcx]                                                     ; +0xb6, 0x1404bb0f6\ncall    qword ptr [rax+1C8h]                                           ; +0xb9, 0x1404bb0f9\ncmp     byte ptr [rbx+740h], 0                                         ; +0xbf, 0x1404bb0ff\nmov     rcx, rax                                                       ; +0xc6, 0x1404bb106\nsetz    dl                                                             ; +0xc9, 0x1404bb109\nmov     r8, [rax]                                                      ; +0xcc, 0x1404bb10c\ncall    qword ptr [r8+140h]                                            ; +0xcf, 0x1404bb10f\nmov     rcx, [rbx+380h]                                                ; +0xd6, 0x1404bb116\nmov     edx, 466h                                                      ; +0xdd, 0x1404bb11d\nmov     rax, [rcx]                                                     ; +0xe2, 0x1404bb122\ncall    qword ptr [rax+1C8h]                                           ; +0xe5, 0x1404bb125\ncmp     byte ptr [rbx+740h], 0                                         ; +0xeb, 0x1404bb12b\nmov     rcx, rax                                                       ; +0xf2, 0x1404bb132\nsetz    dl                                                             ; +0xf5, 0x1404bb135\nmov     r8, [rax]                                                      ; +0xf8, 0x1404bb138\ncall    qword ptr [r8+140h]                                            ; +0xfb, 0x1404bb13b\nmov     rcx, [rbx+380h]                                                ; +0x102, 0x1404bb142\nmov     edx, 467h                                                      ; +0x109, 0x1404bb149\nmov     rax, [rcx]                                                     ; +0x10e, 0x1404bb14e\ncall    qword ptr [rax+1C8h]                                           ; +0x111, 0x1404bb151\ncmp     byte ptr [rbx+740h], 0                                         ; +0x117, 0x1404bb157\nmov     rcx, rax                                                       ; +0x11e, 0x1404bb15e\nsetz    dl                                                             ; +0x121, 0x1404bb161\nmov     r8, [rax]                                                      ; +0x124, 0x1404bb164\ncall    qword ptr [r8+140h]                                            ; +0x127, 0x1404bb167\nmov     rcx, [rbx+380h]                                                ; +0x12e, 0x1404bb16e\nmov     edx, 468h                                                      ; +0x135, 0x1404bb175\nmov     rax, [rcx]                                                     ; +0x13a, 0x1404bb17a\ncall    qword ptr [rax+1C8h]                                           ; +0x13d, 0x1404bb17d\nmovzx   edx, byte ptr [rbx+740h]                                       ; +0x143, 0x1404bb183\nmov     rcx, rax                                                       ; +0x14a, 0x1404bb18a\nmov     r8, [rax]                                                      ; +0x14d, 0x1404bb18d\ncall    qword ptr [r8+140h]                                            ; +0x150, 0x1404bb190\ncmp     byte ptr [rbx+740h], 0                                         ; +0x157, 0x1404bb197\njz      short loc_1404BB1C0                                            ; +0x15e, 0x1404bb19e\nmov     rax, [rbx]                                                     ; +0x160, 0x1404bb1a0\nlea     rdx, word_140529C94                                            ; +0x163, 0x1404bb1a3\nmov     rcx, rbx                                                       ; +0x16a, 0x1404bb1aa\ncall    qword ptr [rax+530h]                                           ; +0x16d, 0x1404bb1ad\nmov     byte ptr [rbx+284h], 1                                         ; +0x173, 0x1404bb1b3\nadd     rsp, 20h                                                       ; +0x17a, 0x1404bb1ba\npop     rbx                                                            ; +0x17e, 0x1404bb1be\nretn                                                                   ; +0x17f, 0x1404bb1bf\nmov     byte ptr [rbx+284h], 0                                         ; +0x180, 0x1404bb1c0\nadd     rsp, 20h                                                       ; +0x187, 0x1404bb1c7\npop     rbx                                                            ; +0x18b, 0x1404bb1cb\nretn                                                                   ; +0x18c, 0x1404bb1cc", "xrefs": ["CheckpointGameObject::resetObject @ 0x1404bb02a", "CheckpointGameObject::restoreObject @ 0x1404bb1e2", "<???> @ 0x1406dcd70"], "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"}