; ; GJBaseGameLayer::tryGetObject from 0x14032c2b0 to 0x14032c392 (226 bytes) ; ; 25 xrefs: ; > GJBaseGameLayer::resetPlayer @ 0x140318ff8 ; > GJBaseGameLayer::triggerMoveCommand @ 0x140326607 ; > GJBaseGameLayer::triggerMoveCommand @ 0x140326631 ; > GJBaseGameLayer::triggerMoveCommand @ 0x140326747 ; > GJBaseGameLayer::triggerMoveCommand @ 0x14032677c ; > GJBaseGameLayer::triggerRotateCommand @ 0x140326e37 ; > GJBaseGameLayer::triggerRotateCommand @ 0x140326e51 ; > GJBaseGameLayer::triggerRotateCommand @ 0x140326e7c ; > GJBaseGameLayer::triggerRotateCommand @ 0x140326eff ; > GJBaseGameLayer::triggerRotateCommand @ 0x140326f0c ; > GJBaseGameLayer::triggerRotateCommand @ 0x140326f19 ; > GJBaseGameLayer::triggerRotateCommand @ 0x140326f26 ; > GJBaseGameLayer::triggerDynamicRotateCommand @ 0x140327028 ; > GJBaseGameLayer::triggerDynamicRotateCommand @ 0x14032703e ; > GJBaseGameLayer::triggerDynamicRotateCommand @ 0x140327066 ; > GJBaseGameLayer::triggerDynamicRotateCommand @ 0x1403270ca ; > GJBaseGameLayer::triggerDynamicRotateCommand @ 0x1403270e0 ; > GJBaseGameLayer::triggerDynamicRotateCommand @ 0x1403270f6 ; > GJBaseGameLayer::triggerDynamicRotateCommand @ 0x14032710f ; > GJBaseGameLayer::getFollowSpeedVal @ 0x1403374da ; > GJBaseGameLayer::getFollowSpeedVal @ 0x140337516 ; > EffectGameObject::triggerObject @ 0x140649567 ; > @ 0x1408b6084 ; > @ 0x1408b6098 ; > @ 0x14091f2a4 ; ; 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, 0x14032c2b0 push rsi ; +0x5, 0x14032c2b5 sub rsp, 30h ; +0x6, 0x14032c2b6 mov ebx, edx ; +0xa, 0x14032c2ba mov rsi, rcx ; +0xc, 0x14032c2bc test edx, edx ; +0xf, 0x14032c2bf jg short loc_14032C2D0 ; +0x11, 0x14032c2c1 xor eax, eax ; +0x13, 0x14032c2c3 mov rbx, [rsp+38h+arg_8] ; +0x15, 0x14032c2c5 add rsp, 30h ; +0x1a, 0x14032c2ca pop rsi ; +0x1e, 0x14032c2ce retn ; +0x1f, 0x14032c2cf mov [rsp+38h+arg_0], rdi ; +0x20, 0x14032c2d0 call GJBaseGameLayer__tryGetMainObject ; +0x25, 0x14032c2d5 mov rdi, rax ; +0x2a, 0x14032c2da test rax, rax ; +0x2d, 0x14032c2dd jnz loc_14032C37F ; +0x30, 0x14032c2e0 mov edx, ebx ; +0x36, 0x14032c2e6 mov rcx, rsi ; +0x38, 0x14032c2e8 call GJBaseGameLayer__getGroup ; +0x3b, 0x14032c2eb mov rcx, rax ; +0x40, 0x14032c2f0 mov rbx, rax ; +0x43, 0x14032c2f3 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x46, 0x14032c2f6 test eax, eax ; +0x4c, 0x14032c2fc jz short loc_14032C37F ; +0x4e, 0x14032c2fe imul rcx, cs:qword_14090BF68, 343FDh ; +0x50, 0x14032c300 movaps [rsp+38h+var_18], xmm6 ; +0x5b, 0x14032c30b xorps xmm6, xmm6 ; +0x60, 0x14032c310 add rcx, 269EC3h ; +0x63, 0x14032c313 mov cs:qword_14090BF68, rcx ; +0x6a, 0x14032c31a shr rcx, 10h ; +0x71, 0x14032c321 and ecx, 7FFFh ; +0x75, 0x14032c325 cvtsi2ss xmm6, rcx ; +0x7b, 0x14032c32b divss xmm6, cs:dword_140835BDC ; +0x80, 0x14032c330 ucomiss xmm6, cs:flt_140835080 ; +0x88, 0x14032c338 jp short loc_14032C346 ; +0x8f, 0x14032c33f jnz short loc_14032C346 ; +0x91, 0x14032c341 xorps xmm6, xmm6 ; +0x93, 0x14032c343 mov rcx, rbx ; +0x96, 0x14032c346 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x99, 0x14032c349 xorps xmm0, xmm0 ; +0x9f, 0x14032c34f mov eax, eax ; +0xa2, 0x14032c352 mov rcx, rbx ; +0xa4, 0x14032c354 cvtsi2ss xmm0, rax ; +0xa7, 0x14032c357 mulss xmm0, xmm6 ; +0xac, 0x14032c35c cvttss2si edx, xmm0 ; +0xb0, 0x14032c360 movaps xmm6, [rsp+38h+var_18] ; +0xb4, 0x14032c364 mov rdi, [rsp+38h+arg_0] ; +0xb9, 0x14032c369 mov rbx, [rsp+38h+arg_8] ; +0xbe, 0x14032c36e add rsp, 30h ; +0xc3, 0x14032c373 pop rsi ; +0xc7, 0x14032c377 jmp cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0xc8, 0x14032c378 mov rbx, [rsp+38h+arg_8] ; +0xcf, 0x14032c37f mov rax, rdi ; +0xd4, 0x14032c384 mov rdi, [rsp+38h+arg_0] ; +0xd7, 0x14032c387 add rsp, 30h ; +0xdc, 0x14032c38c pop rsi ; +0xe0, 0x14032c390 retn ; +0xe1, 0x14032c391