{"type": "func", "start": 4665592, "end": 4665680, "name": "GJBaseGameLayer::ungroupStickyObjects", "pseudocode": "// \n// GJBaseGameLayer::ungroupStickyObjects from 0x4730f8 to 0x473150 (88 bytes)\n// \n// 3 xrefs:\n// > EditorUI::onUngroupSticky @ 0x39cfcc\n// > GJBaseGameLayer::groupStickyObjects @ 0x4731de\n// > GJBaseGameLayer::assignNewStickyGroups @ 0x47326a\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::ungroupStickyObjects(GJBaseGameLayer *a1, cocos2d::CCArray *a2)\n{\n  unsigned int i; // r4\n  cocos2d::CCObject *v5; // r5\n  cocos2d::CCArray *v6; // r0\n  cocos2d::CCArray *v7; // r9\n\n  for ( i = 0; i < cocos2d::CCArray::count(a2); ++i )\n  {\n    v5 = (cocos2d::CCObject *)cocos2d::CCArray::objectAtIndex(a2, i);\n    v6 = (cocos2d::CCArray *)cocos2d::CCDictionary::objectForKey(a1->m_linkedGroupDict, v5[14].m_uID);\n    v7 = v6;\n    if ( v6 )\n    {\n      cocos2d::CCArray::removeObject(v6, v5, 1);\n      if ( !cocos2d::CCArray::count(v7) )\n        cocos2d::CCDictionary::removeObjectForKey(a1->m_linkedGroupDict, v5[14].m_uID);\n    }\n    v5[14].m_uID = 0;\n  }\n}", "assembly": "; \n; GJBaseGameLayer::ungroupStickyObjects from 0x4730f8 to 0x473150 (88 bytes)\n; \n; 3 xrefs:\n; > EditorUI::onUngroupSticky @ 0x39cfcc\n; > GJBaseGameLayer::groupStickyObjects @ 0x4731de\n; > GJBaseGameLayer::assignNewStickyGroups @ 0x47326a\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.W          {R3-R9,LR}                                             ; +0x0, 0x4730f8\nMOVS            R4, #0                                                 ; +0x4, 0x4730fc\nMOV             R7, R0                                                 ; +0x6, 0x4730fe\nMOV             R6, R1                                                 ; +0x8, 0x473100\nMOV             R8, R4                                                 ; +0xa, 0x473102\nMOV             R0, R6; this                                           ; +0xc, 0x473104\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0xe, 0x473106\nCMP             R4, R0                                                 ; +0x12, 0x47310a\nBCS             locret_47314C                                          ; +0x14, 0x47310c\nMOV             R1, R4; unsigned int                                   ; +0x16, 0x47310e\nMOV             R0, R6; this                                           ; +0x18, 0x473110\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x1a, 0x473112\nMOV             R5, R0                                                 ; +0x1e, 0x473116\nLDR.W           R0, [R7,#0x9DC]; this                                  ; +0x20, 0x473118\nLDR.W           R1, [R5,#0x2DC]; int                                   ; +0x24, 0x47311c\nBL              _ZN7cocos2d12CCDictionary12objectForKeyEi; cocos2d::CCDictionary::objectForKey(int) ; +0x28, 0x473120\nMOV             R9, R0                                                 ; +0x2c, 0x473124\nCBZ             R0, loc_473144                                         ; +0x2e, 0x473126\nMOV             R1, R5; cocos2d::CCObject *                            ; +0x30, 0x473128\nMOVS            R2, #1; bool                                           ; +0x32, 0x47312a\nBL              _ZN7cocos2d7CCArray12removeObjectEPNS_8CCObjectEb; cocos2d::CCArray::removeObject(cocos2d::CCObject *,bool) ; +0x34, 0x47312c\nMOV             R0, R9; this                                           ; +0x38, 0x473130\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x3a, 0x473132\nCBNZ            R0, loc_473144                                         ; +0x3e, 0x473136\nLDR.W           R0, [R7,#0x9DC]; this                                  ; +0x40, 0x473138\nLDR.W           R1, [R5,#0x2DC]; int                                   ; +0x44, 0x47313c\nBL              _ZN7cocos2d12CCDictionary18removeObjectForKeyEi; cocos2d::CCDictionary::removeObjectForKey(int) ; +0x48, 0x473140\nSTR.W           R8, [R5,#0x2DC]                                        ; +0x4c, 0x473144\nADDS            R4, #1                                                 ; +0x50, 0x473148\nB               loc_473104                                             ; +0x52, 0x47314a\nPOP.W           {R3-R9,PC}                                             ; +0x54, 0x47314c", "xrefs": ["EditorUI::onUngroupSticky @ 0x39cfcc", "GJBaseGameLayer::groupStickyObjects @ 0x4731de", "GJBaseGameLayer::assignNewStickyGroups @ 0x47326a"], "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"}