{"type": "func", "start": 3229998, "end": 3230036, "name": "CheckpointObject::setObject", "pseudocode": "// \n// CheckpointObject::setObject from 0x31492e to 0x314954 (38 bytes)\n// \n// 1 xrefs:\n// > PlayLayer::createCheckpoint @ 0x31f0b6\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 CheckpointObject::setObject(CheckpointObject *a1, GameObject *a2)\n{\n  GameObject *m_physicalCheckpointObject; // r0\n\n  if ( a1->m_physicalCheckpointObject != a2 )\n  {\n    if ( a2 )\n      cocos2d::CCObject::retain(a2);\n    m_physicalCheckpointObject = a1->m_physicalCheckpointObject;\n    if ( m_physicalCheckpointObject )\n      cocos2d::CCObject::release(m_physicalCheckpointObject);\n    a1->m_physicalCheckpointObject = a2;\n  }\n}", "assembly": "; \n; CheckpointObject::setObject from 0x31492e to 0x314954 (38 bytes)\n; \n; 1 xrefs:\n; > PlayLayer::createCheckpoint @ 0x31f0b6\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            {R3-R5,LR}                                             ; +0x0, 0x31492e\nMOV             R5, R0                                                 ; +0x2, 0x314930\nLDR.W           R3, [R0,#0xA10]                                        ; +0x4, 0x314932\nMOV             R4, R1                                                 ; +0x8, 0x314936\nCMP             R3, R1                                                 ; +0xa, 0x314938\nBEQ             locret_314952                                          ; +0xc, 0x31493a\nCBZ             R1, loc_314944                                         ; +0xe, 0x31493c\nMOV             R0, R1; this                                           ; +0x10, 0x31493e\nBL              _ZN7cocos2d8CCObject6retainEv; cocos2d::CCObject::retain(void) ; +0x12, 0x314940\nLDR.W           R0, [R5,#0xA10]; this                                  ; +0x16, 0x314944\nCBZ             R0, loc_31494E                                         ; +0x1a, 0x314948\nBL              _ZN7cocos2d8CCObject7releaseEv; cocos2d::CCObject::release(void) ; +0x1c, 0x31494a\nSTR.W           R4, [R5,#0xA10]                                        ; +0x20, 0x31494e\nPOP             {R3-R5,PC}                                             ; +0x24, 0x314952", "xrefs": ["PlayLayer::createCheckpoint @ 0x31f0b6"], "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"}