; ; GJBaseGameLayer::tryGetMainObject from 0x14032c200 to 0x14032c2a8 (168 bytes) ; ; 41 xrefs: ; > EditorUI::findObject @ 0x1401c93b4 ; > GJBaseGameLayer::playKeyframeAnimation @ 0x14031f410 ; > GJBaseGameLayer::getSavedPosition @ 0x140320892 ; > GJBaseGameLayer::getSavedPosition @ 0x140320960 ; > GJBaseGameLayer::prepareSavePositionObjects @ 0x140321a59 ; > GJBaseGameLayer::triggerMoveCommand @ 0x140326740 ; > GJBaseGameLayer::triggerMoveCommand @ 0x140326772 ; > GJBaseGameLayer::triggerTransformCommand @ 0x1403272d6 ; > GJBaseGameLayer::updateGradientLayers @ 0x14032813f ; > GJBaseGameLayer::updateGradientLayers @ 0x140328150 ; > GJBaseGameLayer::updateGradientLayers @ 0x140328161 ; > GJBaseGameLayer::updateGradientLayers @ 0x140328172 ; > GJBaseGameLayer::positionForShaderTarget @ 0x14032b232 ; > GJBaseGameLayer::speedForShaderTarget @ 0x14032b2f2 ; > GJBaseGameLayer::tryGetObject @ 0x14032c2d5 ; > GJBaseGameLayer::positionUIObjects @ 0x14032ef45 ; > GJBaseGameLayer::positionUIObjects @ 0x14032ef85 ; > GJBaseGameLayer::processAreaEffects @ 0x140331424 ; > GJBaseGameLayer::processRotationActions @ 0x1403345c9 ; > GJBaseGameLayer::processTransformActions @ 0x14033544a ; > GJBaseGameLayer::processAdvancedFollowAction @ 0x140338273 ; > GJBaseGameLayer::processFollowActions @ 0x1403391b7 ; > GJBaseGameLayer::optimizeMoveGroups @ 0x140339d4b ; > GJBaseGameLayer::updateCamera @ 0x140345d50 ; > GJBaseGameLayer::updateCamera @ 0x140345db7 ; > GJBaseGameLayer::updateCamera @ 0x140345e1a ; > GJBaseGameLayer::updateCamera @ 0x140345e89 ; > GJBaseGameLayer::updateCamera @ 0x140345eed ; > GJBaseGameLayer::updateCamera @ 0x140346f89 ; > GJBaseGameLayer::updateStaticCameraPosToGroup @ 0x140348d7d ; > GJBaseGameLayer::spawnParticleTrigger @ 0x140349b83 ; > GJBaseGameLayer::volumeForProximityEffect @ 0x14034c8bf ; > GJBaseGameLayer::visit @ 0x140351b0c ; > GJBaseGameLayer::visit @ 0x140351b1d ; > GJBaseGameLayer::visit @ 0x140351b2e ; > GJBaseGameLayer::visit @ 0x140351b3f ; > PlayLayer::activatePlatformerEndTrigger @ 0x14050ac80 ; > PlayLayer::processCheckpoints @ 0x140513a36 ; > @ 0x1408b6058 ; > @ 0x1408b606c ; > @ 0x14091f280 ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 11:30:30 +0000 ; mov [rsp+arg_8], rbx ; +0x0, 0x14032c200 push rsi ; +0x5, 0x14032c205 sub rsp, 20h ; +0x6, 0x14032c206 movsxd rbx, edx ; +0xa, 0x14032c20a mov rsi, rcx ; +0xd, 0x14032c20d test edx, edx ; +0x10, 0x14032c210 jg short loc_14032C221 ; +0x12, 0x14032c212 xor eax, eax ; +0x14, 0x14032c214 mov rbx, [rsp+28h+arg_8] ; +0x16, 0x14032c216 add rsp, 20h ; +0x1b, 0x14032c21b pop rsi ; +0x1f, 0x14032c21f retn ; +0x20, 0x14032c220 mov rcx, [rcx+0F80h] ; +0x21, 0x14032c221 mov rdx, rbx ; +0x28, 0x14032c228 mov [rsp+28h+arg_0], rdi ; +0x2b, 0x14032c22b call cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::objectForKey(__int64) ; +0x30, 0x14032c230 mov rdi, rax ; +0x36, 0x14032c236 test rax, rax ; +0x39, 0x14032c239 jz short loc_14032C25B ; +0x3c, 0x14032c23c mov rcx, rax ; +0x3e, 0x14032c23e call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x41, 0x14032c241 test eax, eax ; +0x47, 0x14032c247 jz short loc_14032C25B ; +0x49, 0x14032c249 xor edx, edx ; +0x4b, 0x14032c24b mov rcx, rdi ; +0x4d, 0x14032c24d call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x50, 0x14032c250 test rax, rax ; +0x56, 0x14032c256 jnz short loc_14032C298 ; +0x59, 0x14032c259 mov edx, ebx ; +0x5b, 0x14032c25b mov rcx, rsi ; +0x5d, 0x14032c25d call GJBaseGameLayer__getGroup ; +0x60, 0x14032c260 mov rbx, rax ; +0x65, 0x14032c265 test rax, rax ; +0x68, 0x14032c268 jz short loc_14032C296 ; +0x6b, 0x14032c26b mov rcx, rax ; +0x6d, 0x14032c26d call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x70, 0x14032c270 cmp eax, 1 ; +0x76, 0x14032c276 jnz short loc_14032C296 ; +0x79, 0x14032c279 xor edx, edx ; +0x7b, 0x14032c27b mov rcx, rbx ; +0x7d, 0x14032c27d mov rdi, [rsp+28h+arg_0] ; +0x80, 0x14032c280 mov rbx, [rsp+28h+arg_8] ; +0x85, 0x14032c285 add rsp, 20h ; +0x8a, 0x14032c28a pop rsi ; +0x8e, 0x14032c28e jmp cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x8f, 0x14032c28f xor eax, eax ; +0x96, 0x14032c296 mov rdi, [rsp+28h+arg_0] ; +0x98, 0x14032c298 mov rbx, [rsp+28h+arg_8] ; +0x9d, 0x14032c29d add rsp, 20h ; +0xa2, 0x14032c2a2 pop rsi ; +0xa6, 0x14032c2a6 retn ; +0xa7, 0x14032c2a7