{"type": "func", "start": 4296149104, "end": 4296149176, "name": "CheckpointObject::setObject", "pseudocode": "// \n// CheckpointObject::setObject from 0x100120870 to 0x1001208b8 (72 bytes)\n// \n// 1 xrefs:\n// > PlayLayer::createCheckpoint @ 0x10011fc50\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 __fastcall CheckpointObject::setObject(CheckpointObject *a1, GameObject *a2)\n{\n  GameObject *m_physicalCheckpointObject; // x0\n\n  m_physicalCheckpointObject = a1->m_physicalCheckpointObject;\n  if ( m_physicalCheckpointObject != a2 )\n  {\n    if ( a2 )\n    {\n      cocos2d::CCObject::retain(a2);\n      m_physicalCheckpointObject = a1->m_physicalCheckpointObject;\n    }\n    if ( m_physicalCheckpointObject )\n      cocos2d::CCObject::release(m_physicalCheckpointObject);\n    a1->m_physicalCheckpointObject = a2;\n  }\n}", "assembly": "; \n; CheckpointObject::setObject from 0x100120870 to 0x1001208b8 (72 bytes)\n; \n; 1 xrefs:\n; > PlayLayer::createCheckpoint @ 0x10011fc50\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, 0x100120870\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100120874\nADD             X29, SP, #0x10                                         ; +0x8, 0x100120878\nMOV             X20, X0                                                ; +0xc, 0x10012087c\nLDR             X0, [X0,#0xC20]                                        ; +0x10, 0x100120880\nCMP             X0, X1                                                 ; +0x14, 0x100120884\nB.EQ            loc_1001208AC                                          ; +0x18, 0x100120888\nMOV             X19, X1                                                ; +0x1c, 0x10012088c\nCBZ             X1, loc_1001208A0                                      ; +0x20, 0x100120890\nMOV             X0, X19                                                ; +0x24, 0x100120894\nBL              cocos2d__CCObject__retain                              ; +0x28, 0x100120898\nLDR             X0, [X20,#0xC20]                                       ; +0x2c, 0x10012089c\nCBZ             X0, loc_1001208A8                                      ; +0x30, 0x1001208a0\nBL              cocos2d__CCObject__release                             ; +0x34, 0x1001208a4\nSTR             X19, [X20,#0xC20]                                      ; +0x38, 0x1001208a8\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x3c, 0x1001208ac\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x40, 0x1001208b0\nRET                                                                    ; +0x44, 0x1001208b4", "xrefs": ["PlayLayer::createCheckpoint @ 0x10011fc50"], "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"}