{"type": "func", "start": 5299916, "end": 5299948, "name": "GJMapObject::setObjectOrigin", "pseudocode": "// \n// GJMapObject::setObjectOrigin from 0x50decc to 0x50deec (32 bytes)\n// \n// 3 xrefs:\n// > MapSelectLayer::init @ 0x50f802\n// > MapSelectLayer::init @ 0x50f968\n// > MapSelectLayer::init @ 0x50f9a4\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 GJMapObject::setObjectOrigin(GJMapObject *a1, cocos2d::CCPoint a2, float a3)\n{\n  float x; // r5\n\n  a1->m_objectOffset = a2.y;\n  x = a2.x;\n  cocos2d::CCPoint::operator=((PlayerObject *)&a1->m_objectOrigin, a2.x, SLODWORD(a2.y), SLOBYTE(a3));\n  a1->setPosition(a1, (const cocos2d::CCPoint *)LODWORD(x));\n}", "assembly": "; \n; GJMapObject::setObjectOrigin from 0x50decc to 0x50deec (32 bytes)\n; \n; 3 xrefs:\n; > MapSelectLayer::init @ 0x50f802\n; > MapSelectLayer::init @ 0x50f968\n; > MapSelectLayer::init @ 0x50f9a4\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            {R4-R6,LR}                                             ; +0x0, 0x50decc\nMOV             R4, R0                                                 ; +0x2, 0x50dece\nSTR.W           R2, [R0,#0x11C]                                        ; +0x4, 0x50ded0\nADD.W           R0, R0, #0x114                                         ; +0x8, 0x50ded4\nMOV             R5, R1                                                 ; +0xc, 0x50ded8\nBL              _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0xe, 0x50deda\nLDR             R3, [R4]                                               ; +0x12, 0x50dede\nMOV             R0, R4                                                 ; +0x14, 0x50dee0\nMOV             R1, R5                                                 ; +0x16, 0x50dee2\nPOP.W           {R4-R6,LR}                                             ; +0x18, 0x50dee4\nLDR             R3, [R3,#0x5C]                                         ; +0x1c, 0x50dee8\nBX              R3                                                     ; +0x1e, 0x50deea", "xrefs": ["MapSelectLayer::init @ 0x50f802", "MapSelectLayer::init @ 0x50f968", "MapSelectLayer::init @ 0x50f9a4"], "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"}