{"type": "func", "start": 4296269728, "end": 4296269910, "name": "GJBaseGameLayer::ungroupStickyObjects", "pseudocode": "// \n// GJBaseGameLayer::ungroupStickyObjects from 0x10013dfa0 to 0x10013e056 (182 bytes)\n// \n// 3 xrefs:\n// > EditorUI::onUngroupSticky @ 0x10000c947\n// > GJBaseGameLayer::groupStickyObjects @ 0x10013df00\n// > GJBaseGameLayer::assignNewStickyGroups @ 0x10013e144\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 GJBaseGameLayer::ungroupStickyObjects(GJBaseGameLayer *a1, cocos2d::CCArray *a2)\n{\n  unsigned int v2; // r15d\n  __int64 v3; // r12\n  cocos2d::CCObject *v4; // rax\n  cocos2d::CCObject *v5; // r13\n\n  if ( (unsigned int)sub_100720070(a2) )\n  {\n    v2 = 0;\n    do\n    {\n      v3 = sub_1007200C0(a2, v2);\n      v4 = cocos2d::CCDictionary::objectForKey(a1->m_linkedGroupDict, *(int *)(v3 + 872));\n      if ( v4 )\n      {\n        v5 = v4;\n        sub_100720220(v4, v3, 1);\n        if ( !(unsigned int)sub_100720070(v5) )\n          cocos2d::CCDictionary::removeObjectForKey(a1->m_linkedGroupDict, *(int *)(v3 + 872));\n      }\n      *(_DWORD *)(v3 + 872) = 0;\n      ++v2;\n    }\n    while ( v2 < (unsigned int)sub_100720070(a2) );\n  }\n}", "assembly": "; \n; GJBaseGameLayer::ungroupStickyObjects from 0x10013dfa0 to 0x10013e056 (182 bytes)\n; \n; 3 xrefs:\n; > EditorUI::onUngroupSticky @ 0x10000c947\n; > GJBaseGameLayer::groupStickyObjects @ 0x10013df00\n; > GJBaseGameLayer::assignNewStickyGroups @ 0x10013e144\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, 0x10013dfa0\nmov     rbp, rsp                                                       ; +0x1, 0x10013dfa1\npush    r15                                                            ; +0x4, 0x10013dfa4\npush    r14                                                            ; +0x6, 0x10013dfa6\npush    r13                                                            ; +0x8, 0x10013dfa8\npush    r12                                                            ; +0xa, 0x10013dfaa\npush    rbx                                                            ; +0xc, 0x10013dfac\npush    rax                                                            ; +0xd, 0x10013dfad\nmov     rbx, rsi                                                       ; +0xe, 0x10013dfae\nmov     r14, rdi                                                       ; +0x11, 0x10013dfb1\nmov     rdi, rsi                                                       ; +0x14, 0x10013dfb4\ncall    sub_100720070                                                  ; +0x17, 0x10013dfb7\ntest    eax, eax                                                       ; +0x1c, 0x10013dfbc\njz      loc_10013E047                                                  ; +0x1e, 0x10013dfbe\nxor     r15d, r15d                                                     ; +0x24, 0x10013dfc4\njmp     short loc_10013DFEC                                            ; +0x27, 0x10013dfc7\nalign 10h                                                              ; +0x29, 0x10013dfc9\nmov     dword ptr [r12+368h], 0                                        ; +0x30, 0x10013dfd0\ninc     r15d                                                           ; +0x3c, 0x10013dfdc\nmov     rdi, rbx                                                       ; +0x3f, 0x10013dfdf\ncall    sub_100720070                                                  ; +0x42, 0x10013dfe2\ncmp     r15d, eax                                                      ; +0x47, 0x10013dfe7\njnb     short loc_10013E047                                            ; +0x4a, 0x10013dfea\nmov     rdi, rbx                                                       ; +0x4c, 0x10013dfec\nmov     esi, r15d                                                      ; +0x4f, 0x10013dfef\ncall    sub_1007200C0                                                  ; +0x52, 0x10013dff2\nmov     r12, rax                                                       ; +0x57, 0x10013dff7\nmov     rdi, [r14+0E90h]                                               ; +0x5a, 0x10013dffa\nmovsxd  rsi, dword ptr [rax+368h]                                      ; +0x61, 0x10013e001\ncall    cocos2d__CCDictionary__objectForKey                            ; +0x68, 0x10013e008\ntest    rax, rax                                                       ; +0x6d, 0x10013e00d\njz      short loc_10013DFD0                                            ; +0x70, 0x10013e010\nmov     r13, rax                                                       ; +0x72, 0x10013e012\nmov     rdi, rax                                                       ; +0x75, 0x10013e015\nmov     rsi, r12                                                       ; +0x78, 0x10013e018\nmov     edx, 1                                                         ; +0x7b, 0x10013e01b\ncall    sub_100720220                                                  ; +0x80, 0x10013e020\nmov     rdi, r13                                                       ; +0x85, 0x10013e025\ncall    sub_100720070                                                  ; +0x88, 0x10013e028\ntest    eax, eax                                                       ; +0x8d, 0x10013e02d\njnz     short loc_10013DFD0                                            ; +0x8f, 0x10013e02f\nmov     rdi, [r14+0E90h]                                               ; +0x91, 0x10013e031\nmovsxd  rsi, dword ptr [r12+368h]                                      ; +0x98, 0x10013e038\ncall    cocos2d__CCDictionary__removeObjectForKey                      ; +0xa0, 0x10013e040\njmp     short loc_10013DFD0                                            ; +0xa5, 0x10013e045\nadd     rsp, 8                                                         ; +0xa7, 0x10013e047\npop     rbx                                                            ; +0xab, 0x10013e04b\npop     r12                                                            ; +0xac, 0x10013e04c\npop     r13                                                            ; +0xae, 0x10013e04e\npop     r14                                                            ; +0xb0, 0x10013e050\npop     r15                                                            ; +0xb2, 0x10013e052\npop     rbp                                                            ; +0xb4, 0x10013e054\nretn                                                                   ; +0xb5, 0x10013e055", "xrefs": ["EditorUI::onUngroupSticky @ 0x10000c947", "GJBaseGameLayer::groupStickyObjects @ 0x10013df00", "GJBaseGameLayer::assignNewStickyGroups @ 0x10013e144"], "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"}