{"type": "func", "start": 4296131376, "end": 4296131558, "name": "GJBaseGameLayer::ungroupStickyObjects", "pseudocode": "// \n// GJBaseGameLayer::ungroupStickyObjects from 0x10011c330 to 0x10011c3e6 (182 bytes)\n// \n// 3 xrefs:\n// > EditorUI::onUngroupSticky @ 0x100008c40\n// > GJBaseGameLayer::groupStickyObjects @ 0x10011c290\n// > GJBaseGameLayer::assignNewStickyGroups @ 0x10011c4d4\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:24:36 +0000\n// \n\n__int64 __fastcall GJBaseGameLayer::ungroupStickyObjects(__int64 a1, __int64 a2)\n{\n  __int64 result; // rax\n  unsigned int v3; // r15d\n  __int64 v4; // r12\n  __int64 v5; // rax\n  __int64 v6; // r13\n\n  result = sub_1007FEF90(a2);\n  if ( (_DWORD)result )\n  {\n    v3 = 0;\n    do\n    {\n      v4 = sub_1007FEFE0(a2, v3);\n      v5 = cocos2d::CCDictionary::objectForKey_1(*(_QWORD *)(a1 + 3880));\n      if ( v5 )\n      {\n        v6 = v5;\n        sub_1007FF140(v5, v4, 1);\n        if ( !(unsigned int)sub_1007FEF90(v6) )\n          cocos2d::CCDictionary::removeObjectForKey_1(*(_QWORD *)(a1 + 3880), *(int *)(v4 + 872));\n      }\n      *(_DWORD *)(v4 + 872) = 0;\n      ++v3;\n      result = sub_1007FEF90(a2);\n    }\n    while ( v3 < (unsigned int)result );\n  }\n  return result;\n}", "assembly": "; \n; GJBaseGameLayer::ungroupStickyObjects from 0x10011c330 to 0x10011c3e6 (182 bytes)\n; \n; 3 xrefs:\n; > EditorUI::onUngroupSticky @ 0x100008c40\n; > GJBaseGameLayer::groupStickyObjects @ 0x10011c290\n; > GJBaseGameLayer::assignNewStickyGroups @ 0x10011c4d4\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:24:36 +0000\n; \npush    rbp                                                            ; +0x0, 0x10011c330\nmov     rbp, rsp                                                       ; +0x1, 0x10011c331\npush    r15                                                            ; +0x4, 0x10011c334\npush    r14                                                            ; +0x6, 0x10011c336\npush    r13                                                            ; +0x8, 0x10011c338\npush    r12                                                            ; +0xa, 0x10011c33a\npush    rbx                                                            ; +0xc, 0x10011c33c\npush    rax                                                            ; +0xd, 0x10011c33d\nmov     rbx, rsi                                                       ; +0xe, 0x10011c33e\nmov     r14, rdi                                                       ; +0x11, 0x10011c341\nmov     rdi, rsi                                                       ; +0x14, 0x10011c344\ncall    sub_1007FEF90                                                  ; +0x17, 0x10011c347\ntest    eax, eax                                                       ; +0x1c, 0x10011c34c\njz      loc_10011C3D7                                                  ; +0x1e, 0x10011c34e\nxor     r15d, r15d                                                     ; +0x24, 0x10011c354\njmp     short loc_10011C37C                                            ; +0x27, 0x10011c357\nalign 20h                                                              ; +0x29, 0x10011c359\nmov     dword ptr [r12+368h], 0                                        ; +0x30, 0x10011c360\ninc     r15d                                                           ; +0x3c, 0x10011c36c\nmov     rdi, rbx                                                       ; +0x3f, 0x10011c36f\ncall    sub_1007FEF90                                                  ; +0x42, 0x10011c372\ncmp     r15d, eax                                                      ; +0x47, 0x10011c377\njnb     short loc_10011C3D7                                            ; +0x4a, 0x10011c37a\nmov     rdi, rbx                                                       ; +0x4c, 0x10011c37c\nmov     esi, r15d                                                      ; +0x4f, 0x10011c37f\ncall    sub_1007FEFE0                                                  ; +0x52, 0x10011c382\nmov     r12, rax                                                       ; +0x57, 0x10011c387\nmov     rdi, [r14+0F28h]                                               ; +0x5a, 0x10011c38a\nmovsxd  rsi, dword ptr [rax+368h]                                      ; +0x61, 0x10011c391\ncall    cocos2d__CCDictionary__objectForKey_1                          ; +0x68, 0x10011c398\ntest    rax, rax                                                       ; +0x6d, 0x10011c39d\njz      short loc_10011C360                                            ; +0x70, 0x10011c3a0\nmov     r13, rax                                                       ; +0x72, 0x10011c3a2\nmov     rdi, rax                                                       ; +0x75, 0x10011c3a5\nmov     rsi, r12                                                       ; +0x78, 0x10011c3a8\nmov     edx, 1                                                         ; +0x7b, 0x10011c3ab\ncall    sub_1007FF140                                                  ; +0x80, 0x10011c3b0\nmov     rdi, r13                                                       ; +0x85, 0x10011c3b5\ncall    sub_1007FEF90                                                  ; +0x88, 0x10011c3b8\ntest    eax, eax                                                       ; +0x8d, 0x10011c3bd\njnz     short loc_10011C360                                            ; +0x8f, 0x10011c3bf\nmov     rdi, [r14+0F28h]                                               ; +0x91, 0x10011c3c1\nmovsxd  rsi, dword ptr [r12+368h]                                      ; +0x98, 0x10011c3c8\ncall    cocos2d__CCDictionary__removeObjectForKey_1                    ; +0xa0, 0x10011c3d0\njmp     short loc_10011C360                                            ; +0xa5, 0x10011c3d5\nadd     rsp, 8                                                         ; +0xa7, 0x10011c3d7\npop     rbx                                                            ; +0xab, 0x10011c3db\npop     r12                                                            ; +0xac, 0x10011c3dc\npop     r13                                                            ; +0xae, 0x10011c3de\npop     r14                                                            ; +0xb0, 0x10011c3e0\npop     r15                                                            ; +0xb2, 0x10011c3e2\npop     rbp                                                            ; +0xb4, 0x10011c3e4\nretn                                                                   ; +0xb5, 0x10011c3e5", "xrefs": ["EditorUI::onUngroupSticky @ 0x100008c40", "GJBaseGameLayer::groupStickyObjects @ 0x10011c290", "GJBaseGameLayer::assignNewStickyGroups @ 0x10011c4d4"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}