{"type": "func", "start": 4648532, "end": 4648574, "name": "GJBaseGameLayer::setStartPosObject", "pseudocode": "// \n// GJBaseGameLayer::setStartPosObject from 0x46ee54 to 0x46ee7e (42 bytes)\n// \n// 4 xrefs:\n// > PlayLayer::addObject @ 0x311592\n// > LevelEditorLayer::onStopPlaytest @ 0x36928c\n// > LevelEditorLayer::onPlaytest @ 0x36eb04\n// > LevelEditorLayer::onPlaytest @ 0x36eb20\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 GJBaseGameLayer::setStartPosObject(GJBaseGameLayer *a1, StartPosObject *a2)\n{\n  StartPosObject *m_startPosObject; // r0\n\n  if ( a1->m_startPosObject != a2 )\n  {\n    if ( a2 )\n      cocos2d::CCObject::retain(a2);\n    m_startPosObject = a1->m_startPosObject;\n    if ( m_startPosObject )\n      cocos2d::CCObject::release(m_startPosObject);\n    a1->m_startPosObject = a2;\n  }\n}", "assembly": "; \n; GJBaseGameLayer::setStartPosObject from 0x46ee54 to 0x46ee7e (42 bytes)\n; \n; 4 xrefs:\n; > PlayLayer::addObject @ 0x311592\n; > LevelEditorLayer::onStopPlaytest @ 0x36928c\n; > LevelEditorLayer::onPlaytest @ 0x36eb04\n; > LevelEditorLayer::onPlaytest @ 0x36eb20\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\nMOVW            R3, #0x2A84                                            ; +0x0, 0x46ee54\nLDR             R2, [R0,R3]                                            ; +0x4, 0x46ee58\nPUSH            {R4-R6,LR}                                             ; +0x6, 0x46ee5a\nCMP             R2, R1                                                 ; +0x8, 0x46ee5c\nMOV             R6, R0                                                 ; +0xa, 0x46ee5e\nMOV             R4, R1                                                 ; +0xc, 0x46ee60\nMOV             R5, R3                                                 ; +0xe, 0x46ee62\nBEQ             locret_46EE7C                                          ; +0x10, 0x46ee64\nCBZ             R1, loc_46EE6E                                         ; +0x12, 0x46ee66\nMOV             R0, R1; this                                           ; +0x14, 0x46ee68\nBL              _ZN7cocos2d8CCObject6retainEv; cocos2d::CCObject::retain(void) ; +0x16, 0x46ee6a\nLDR             R0, [R6,R5]; this                                      ; +0x1a, 0x46ee6e\nCBZ             R0, loc_46EE76                                         ; +0x1c, 0x46ee70\nBL              _ZN7cocos2d8CCObject7releaseEv; cocos2d::CCObject::release(void) ; +0x1e, 0x46ee72\nMOVW            R3, #0x2A84                                            ; +0x22, 0x46ee76\nSTR             R4, [R6,R3]                                            ; +0x26, 0x46ee7a\nPOP             {R4-R6,PC}                                             ; +0x28, 0x46ee7c", "xrefs": ["PlayLayer::addObject @ 0x311592", "LevelEditorLayer::onStopPlaytest @ 0x36928c", "LevelEditorLayer::onPlaytest @ 0x36eb04", "LevelEditorLayer::onPlaytest @ 0x36eb20"], "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"}