{"type": "func", "start": 4664992, "end": 4665074, "name": "GJBaseGameLayer::removeFromGroup", "pseudocode": "// \n// GJBaseGameLayer::removeFromGroup from 0x472ea0 to 0x472ef2 (82 bytes)\n// \n// 1 xrefs:\n// > LevelEditorLayer::removeFromGroup @ 0x368342\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::removeFromGroup(GJBaseGameLayer *a1, GameObject *a2, int a3)\n{\n  cocos2d::CCArray *Group; // r0\n  cocos2d::CCArray *OptimizedGroup; // r0\n\n  Group = GJBaseGameLayer::getGroup(a1, a3);\n  cocos2d::CCArray::removeObject(Group, a2, 1);\n  if ( a2->m_isDecoration2 )\n    OptimizedGroup = GJBaseGameLayer::getOptimizedGroup(a1, a3);\n  else\n    OptimizedGroup = GJBaseGameLayer::getStaticGroup(a1, a3);\n  cocos2d::CCArray::removeObject(OptimizedGroup, a2, 1);\n  if ( a2->m_hasGroupParentsString && a2 == GJBaseGameLayer::getGroupParent(a1, a3) )\n    GJBaseGameLayer::removeGroupParent(a1, a3);\n}", "assembly": "; \n; GJBaseGameLayer::removeFromGroup from 0x472ea0 to 0x472ef2 (82 bytes)\n; \n; 1 xrefs:\n; > LevelEditorLayer::removeFromGroup @ 0x368342\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, 0x472ea0\nMOV             R5, R1                                                 ; +0x2, 0x472ea2\nMOV             R1, R2; int                                            ; +0x4, 0x472ea4\nMOV             R4, R2                                                 ; +0x6, 0x472ea6\nMOV             R6, R0                                                 ; +0x8, 0x472ea8\nBL              _ZN15GJBaseGameLayer8getGroupEi; GJBaseGameLayer::getGroup(int) ; +0xa, 0x472eaa\nMOV             R1, R5; cocos2d::CCObject *                            ; +0xe, 0x472eae\nMOVS            R2, #1; bool                                           ; +0x10, 0x472eb0\nBL              _ZN7cocos2d7CCArray12removeObjectEPNS_8CCObjectEb; cocos2d::CCArray::removeObject(cocos2d::CCObject *,bool) ; +0x12, 0x472eb2\nLDRB.W          R3, [R5,#0x44E]                                        ; +0x16, 0x472eb6\nMOV             R0, R6; this                                           ; +0x1a, 0x472eba\nMOV             R1, R4; int                                            ; +0x1c, 0x472ebc\nCBZ             R3, loc_472EC6                                         ; +0x1e, 0x472ebe\nBL              _ZN15GJBaseGameLayer17getOptimizedGroupEi; GJBaseGameLayer::getOptimizedGroup(int) ; +0x20, 0x472ec0\nB               loc_472ECA                                             ; +0x24, 0x472ec4\nBL              _ZN15GJBaseGameLayer14getStaticGroupEi; GJBaseGameLayer::getStaticGroup(int) ; +0x26, 0x472ec6\nMOV             R1, R5; cocos2d::CCObject *                            ; +0x2a, 0x472eca\nMOVS            R2, #1; bool                                           ; +0x2c, 0x472ecc\nBL              _ZN7cocos2d7CCArray12removeObjectEPNS_8CCObjectEb; cocos2d::CCArray::removeObject(cocos2d::CCObject *,bool) ; +0x2e, 0x472ece\nLDRB.W          R3, [R5,#0x3F6]                                        ; +0x32, 0x472ed2\nCBZ             R3, locret_472EF0                                      ; +0x36, 0x472ed6\nMOV             R0, R6; this                                           ; +0x38, 0x472ed8\nMOV             R1, R4; int                                            ; +0x3a, 0x472eda\nBL              _ZN15GJBaseGameLayer14getGroupParentEi; GJBaseGameLayer::getGroupParent(int) ; +0x3c, 0x472edc\nCMP             R5, R0                                                 ; +0x40, 0x472ee0\nBNE             locret_472EF0                                          ; +0x42, 0x472ee2\nMOV             R0, R6; this                                           ; +0x44, 0x472ee4\nMOV             R1, R4; int                                            ; +0x46, 0x472ee6\nPOP.W           {R4-R6,LR}                                             ; +0x48, 0x472ee8\nB.W             _ZN15GJBaseGameLayer17removeGroupParentEi; GJBaseGameLayer::removeGroupParent(int) ; +0x4c, 0x472eec\nPOP             {R4-R6,PC}                                             ; +0x50, 0x472ef0", "xrefs": ["LevelEditorLayer::removeFromGroup @ 0x368342"], "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"}