{"type": "func", "start": 5372034832, "end": 5372034943, "name": "GJBaseGameLayer::getGroup", "pseudocode": "// \n// GJBaseGameLayer::getGroup from 0x14032bf10 to 0x14032bf7f (111 bytes)\n// \n// 32 xrefs:\n// > EditorUI::findObject @ 0x1401c912e\n// > GJBaseGameLayer::teleportPlayer @ 0x140316012\n// > GJBaseGameLayer::setupLevelStart @ 0x14031942e\n// > GJBaseGameLayer::playKeyframeAnimation @ 0x14031f2a3\n// > GJBaseGameLayer::spawnGroup @ 0x1403224bf\n// > GJBaseGameLayer::controlTriggersInGroup @ 0x140325ab5\n// > GJBaseGameLayer::triggerMoveCommand @ 0x1403268b8\n// > GJBaseGameLayer::toggleGroup @ 0x14032b8ca\n// > GJBaseGameLayer::addToGroup @ 0x14032bc7c\n// > GJBaseGameLayer::removeFromGroup @ 0x14032bdf4\n// > GJBaseGameLayer::tryGetMainObject @ 0x14032c260\n// > GJBaseGameLayer::tryGetObject @ 0x14032c2eb\n// > GJBaseGameLayer::positionUIObjects @ 0x14032eef7\n// > GJBaseGameLayer::triggerAreaEffect @ 0x14032ffdc\n// > GJBaseGameLayer::triggerAdvancedFollowEditCommand @ 0x140337787\n// > GJBaseGameLayer::triggerAdvancedFollowEditCommand @ 0x1403377e5\n// > GJBaseGameLayer::triggerAdvancedFollowEditCommand @ 0x140337889\n// > GJBaseGameLayer::spawnParticleTrigger @ 0x140349b68\n// > GJBaseGameLayer::activateSFXEditTrigger @ 0x14034c008\n// > GJBaseGameLayer::volumeForProximityEffect @ 0x14034c7e7\n// > LevelEditorLayer::addToGroup @ 0x1403fd372\n// > LevelEditorLayer::removeFromGroup @ 0x1403fd4c4\n// > sub_140401DD0 @ 0x140402239\n// > sub_140406240 @ 0x140406702\n// > sub_140406240 @ 0x1404069b3\n// > LevelTools::sortSpeedObjects @ 0x14046852f\n// > EffectGameObject::triggerObject @ 0x1406485fe\n// > EffectGameObject::triggerObject @ 0x1406499c9\n// > KeyframeGameObject::updateShadowObjects @ 0x1406568ec\n// > <???> @ 0x1408b6000\n// > <???> @ 0x1408b6010\n// > <???> @ 0x14091f250\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 11:30:30 +0000\n// \n\nstruct cocos2d::CCObject *__fastcall GJBaseGameLayer::getGroup(__int64 a1, __int64 a2)\n{\n  __int64 v3; // rsi\n  struct cocos2d::CCObject *result; // rax\n  struct cocos2d::CCObject *v5; // rbx\n\n  if ( (int)a2 > 9999 )\n    a2 = 9999;\n  if ( (int)a2 < 0 )\n    a2 = 0;\n  v3 = (unsigned int)a2;\n  result = *(struct cocos2d::CCObject **)(*(_QWORD *)(a1 + 3896) + 8 * a2);\n  if ( !result )\n  {\n    v5 = (struct cocos2d::CCObject *)cocos2d::CCArray::create(a1);\n    cocos2d::CCDictionary::setObject(*(cocos2d::CCDictionary **)(a1 + 3872), v5, (unsigned int)v3);\n    *(_QWORD *)(*(_QWORD *)(a1 + 3896) + 8 * v3) = v5;\n    return v5;\n  }\n  return result;\n}", "assembly": "; \n; GJBaseGameLayer::getGroup from 0x14032bf10 to 0x14032bf7f (111 bytes)\n; \n; 32 xrefs:\n; > EditorUI::findObject @ 0x1401c912e\n; > GJBaseGameLayer::teleportPlayer @ 0x140316012\n; > GJBaseGameLayer::setupLevelStart @ 0x14031942e\n; > GJBaseGameLayer::playKeyframeAnimation @ 0x14031f2a3\n; > GJBaseGameLayer::spawnGroup @ 0x1403224bf\n; > GJBaseGameLayer::controlTriggersInGroup @ 0x140325ab5\n; > GJBaseGameLayer::triggerMoveCommand @ 0x1403268b8\n; > GJBaseGameLayer::toggleGroup @ 0x14032b8ca\n; > GJBaseGameLayer::addToGroup @ 0x14032bc7c\n; > GJBaseGameLayer::removeFromGroup @ 0x14032bdf4\n; > GJBaseGameLayer::tryGetMainObject @ 0x14032c260\n; > GJBaseGameLayer::tryGetObject @ 0x14032c2eb\n; > GJBaseGameLayer::positionUIObjects @ 0x14032eef7\n; > GJBaseGameLayer::triggerAreaEffect @ 0x14032ffdc\n; > GJBaseGameLayer::triggerAdvancedFollowEditCommand @ 0x140337787\n; > GJBaseGameLayer::triggerAdvancedFollowEditCommand @ 0x1403377e5\n; > GJBaseGameLayer::triggerAdvancedFollowEditCommand @ 0x140337889\n; > GJBaseGameLayer::spawnParticleTrigger @ 0x140349b68\n; > GJBaseGameLayer::activateSFXEditTrigger @ 0x14034c008\n; > GJBaseGameLayer::volumeForProximityEffect @ 0x14034c7e7\n; > LevelEditorLayer::addToGroup @ 0x1403fd372\n; > LevelEditorLayer::removeFromGroup @ 0x1403fd4c4\n; > sub_140401DD0 @ 0x140402239\n; > sub_140406240 @ 0x140406702\n; > sub_140406240 @ 0x1404069b3\n; > LevelTools::sortSpeedObjects @ 0x14046852f\n; > EffectGameObject::triggerObject @ 0x1406485fe\n; > EffectGameObject::triggerObject @ 0x1406499c9\n; > KeyframeGameObject::updateShadowObjects @ 0x1406568ec\n; > <???> @ 0x1408b6000\n; > <???> @ 0x1408b6010\n; > <???> @ 0x14091f250\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 11:30:30 +0000\n; \nmov     [rsp+arg_8], rsi                                               ; +0x0, 0x14032bf10\npush    rdi                                                            ; +0x5, 0x14032bf15\nsub     rsp, 20h                                                       ; +0x6, 0x14032bf16\nmov     eax, 270Fh                                                     ; +0xa, 0x14032bf1a\nmov     rdi, rcx                                                       ; +0xf, 0x14032bf1f\ncmp     edx, eax                                                       ; +0x12, 0x14032bf22\ncmovg   edx, eax                                                       ; +0x14, 0x14032bf24\nxor     eax, eax                                                       ; +0x17, 0x14032bf27\ntest    edx, edx                                                       ; +0x19, 0x14032bf29\ncmovs   edx, eax                                                       ; +0x1b, 0x14032bf2b\nmov     rax, [rcx+0F38h]                                               ; +0x1e, 0x14032bf2e\nmov     esi, edx                                                       ; +0x25, 0x14032bf35\nmov     rax, [rax+rdx*8]                                               ; +0x27, 0x14032bf37\ntest    rax, rax                                                       ; +0x2b, 0x14032bf3b\njnz     short loc_14032BF74                                            ; +0x2e, 0x14032bf3e\nmov     [rsp+28h+arg_0], rbx                                           ; +0x30, 0x14032bf40\ncall    cs:?create@CCArray@cocos2d@@SAPEAV12@XZ; cocos2d::CCArray::create(void) ; +0x35, 0x14032bf45\nmov     rcx, [rdi+0F20h]                                               ; +0x3b, 0x14032bf4b\nmov     r8d, esi                                                       ; +0x42, 0x14032bf52\nmov     rdx, rax                                                       ; +0x45, 0x14032bf55\nmov     rbx, rax                                                       ; +0x48, 0x14032bf58\ncall    cs:?setObject@CCDictionary@cocos2d@@QEAAXPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,__int64) ; +0x4b, 0x14032bf5b\nmov     rax, [rdi+0F38h]                                               ; +0x51, 0x14032bf61\nmov     [rax+rsi*8], rbx                                               ; +0x58, 0x14032bf68\nmov     rax, rbx                                                       ; +0x5c, 0x14032bf6c\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x5f, 0x14032bf6f\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x64, 0x14032bf74\nadd     rsp, 20h                                                       ; +0x69, 0x14032bf79\npop     rdi                                                            ; +0x6d, 0x14032bf7d\nretn                                                                   ; +0x6e, 0x14032bf7e", "xrefs": ["EditorUI::findObject @ 0x1401c912e", "GJBaseGameLayer::teleportPlayer @ 0x140316012", "GJBaseGameLayer::setupLevelStart @ 0x14031942e", "GJBaseGameLayer::playKeyframeAnimation @ 0x14031f2a3", "GJBaseGameLayer::spawnGroup @ 0x1403224bf", "GJBaseGameLayer::controlTriggersInGroup @ 0x140325ab5", "GJBaseGameLayer::triggerMoveCommand @ 0x1403268b8", "GJBaseGameLayer::toggleGroup @ 0x14032b8ca", "GJBaseGameLayer::addToGroup @ 0x14032bc7c", "GJBaseGameLayer::removeFromGroup @ 0x14032bdf4", "GJBaseGameLayer::tryGetMainObject @ 0x14032c260", "GJBaseGameLayer::tryGetObject @ 0x14032c2eb", "GJBaseGameLayer::positionUIObjects @ 0x14032eef7", "GJBaseGameLayer::triggerAreaEffect @ 0x14032ffdc", "GJBaseGameLayer::triggerAdvancedFollowEditCommand @ 0x140337787", "GJBaseGameLayer::triggerAdvancedFollowEditCommand @ 0x1403377e5", "GJBaseGameLayer::triggerAdvancedFollowEditCommand @ 0x140337889", "GJBaseGameLayer::spawnParticleTrigger @ 0x140349b68", "GJBaseGameLayer::activateSFXEditTrigger @ 0x14034c008", "GJBaseGameLayer::volumeForProximityEffect @ 0x14034c7e7", "LevelEditorLayer::addToGroup @ 0x1403fd372", "LevelEditorLayer::removeFromGroup @ 0x1403fd4c4", "sub_140401DD0 @ 0x140402239", "sub_140406240 @ 0x140406702", "sub_140406240 @ 0x1404069b3", "LevelTools::sortSpeedObjects @ 0x14046852f", "EffectGameObject::triggerObject @ 0x1406485fe", "EffectGameObject::triggerObject @ 0x1406499c9", "KeyframeGameObject::updateShadowObjects @ 0x1406568ec", "<???> @ 0x1408b6000", "<???> @ 0x1408b6010", "<???> @ 0x14091f250"], "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"}