{"type": "func", "start": 4295739792, "end": 4295739859, "name": "CheckpointObject::setObject", "pseudocode": "// \n// CheckpointObject::setObject from 0x1000bc990 to 0x1000bc9d3 (67 bytes)\n// \n// 0 xrefs:\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; // rdi\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 0x1000bc990 to 0x1000bc9d3 (67 bytes)\n; \n; 0 xrefs:\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, 0x1000bc990\nmov     rbp, rsp                                                       ; +0x1, 0x1000bc991\npush    r14                                                            ; +0x4, 0x1000bc994\npush    rbx                                                            ; +0x6, 0x1000bc996\nmov     r14, rdi                                                       ; +0x7, 0x1000bc997\nmov     rdi, [rdi+0C20h]                                               ; +0xa, 0x1000bc99a\ncmp     rdi, rsi                                                       ; +0x11, 0x1000bc9a1\njz      short loc_1000BC9CE                                            ; +0x14, 0x1000bc9a4\nmov     rbx, rsi                                                       ; +0x16, 0x1000bc9a6\ntest    rsi, rsi                                                       ; +0x19, 0x1000bc9a9\njz      short loc_1000BC9BD                                            ; +0x1c, 0x1000bc9ac\nmov     rdi, rbx                                                       ; +0x1e, 0x1000bc9ae\ncall    cocos2d__CCObject__retain                                      ; +0x21, 0x1000bc9b1\nmov     rdi, [r14+0C20h]                                               ; +0x26, 0x1000bc9b6\ntest    rdi, rdi                                                       ; +0x2d, 0x1000bc9bd\njz      short loc_1000BC9C7                                            ; +0x30, 0x1000bc9c0\ncall    cocos2d__CCObject__release                                     ; +0x32, 0x1000bc9c2\nmov     [r14+0C20h], rbx                                               ; +0x37, 0x1000bc9c7\npop     rbx                                                            ; +0x3e, 0x1000bc9ce\npop     r14                                                            ; +0x3f, 0x1000bc9cf\npop     rbp                                                            ; +0x41, 0x1000bc9d1\nretn                                                                   ; +0x42, 0x1000bc9d2", "xrefs": [], "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"}