; ; GJBaseGameLayer::resetCamera from 0x14023fb00 to 0x14023fdd3 (723 bytes) ; ; 2 xrefs: ; > GJBaseGameLayer::resetLevelVariables @ 0x14023b6a0 ; > @ 0x1406ce388 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; mov [rsp+arg_8], rbx ; +0x0, 0x14023fb00 mov [rsp+arg_10], rsi ; +0x5, 0x14023fb05 push rdi ; +0xa, 0x14023fb0a sub rsp, 60h ; +0xb, 0x14023fb0b mov rdi, rcx ; +0xf, 0x14023fb0f movaps [rsp+68h+var_18], xmm6 ; +0x12, 0x14023fb12 add rcx, 240h ; +0x17, 0x14023fb17 lea rdx, dword_1406C1D28 ; +0x1e, 0x14023fb1e call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x25, 0x14023fb25 lea rcx, [rdi+238h] ; +0x2b, 0x14023fb2b lea rdx, dword_1406C1D28 ; +0x32, 0x14023fb32 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x39, 0x14023fb39 lea rcx, [rdi+248h] ; +0x3f, 0x14023fb3f lea rdx, dword_1406C1D28 ; +0x46, 0x14023fb46 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x4d, 0x14023fb4d lea rcx, [rdi+258h] ; +0x53, 0x14023fb53 lea rdx, dword_1406C1D28 ; +0x5a, 0x14023fb5a call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x61, 0x14023fb61 lea rcx, [rdi+250h] ; +0x67, 0x14023fb67 lea rdx, dword_1406C1D28 ; +0x6e, 0x14023fb6e call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x75, 0x14023fb75 lea rcx, [rdi+260h] ; +0x7b, 0x14023fb7b lea rdx, dword_1406C1D28 ; +0x82, 0x14023fb82 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x89, 0x14023fb89 lea rcx, [rdi+268h] ; +0x8f, 0x14023fb8f lea rdx, dword_1406C1D28 ; +0x96, 0x14023fb96 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x9d, 0x14023fb9d lea rcx, [rdi+200h] ; +0xa3, 0x14023fba3 lea rdx, dword_1406C1D28 ; +0xaa, 0x14023fbaa call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xb1, 0x14023fbb1 lea rcx, [rdi+1D8h] ; +0xb7, 0x14023fbb7 lea rdx, dword_1406C1D28 ; +0xbe, 0x14023fbbe call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xc5, 0x14023fbc5 lea rcx, [rdi+210h] ; +0xcb, 0x14023fbcb lea rdx, dword_1406C1D28 ; +0xd2, 0x14023fbd2 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xd9, 0x14023fbd9 lea rcx, [rdi+218h] ; +0xdf, 0x14023fbdf lea rdx, dword_1406C1D28 ; +0xe6, 0x14023fbe6 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xed, 0x14023fbed xor esi, esi ; +0xf3, 0x14023fbf3 mov [rsp+68h+var_38], 0FFFFFFFFh ; +0xf5, 0x14023fbf5 xorps xmm6, xmm6 ; +0xfd, 0x14023fbfd mov [rsp+68h+var_40], 0FFFFFFFFh ; +0x100, 0x14023fc00 xor r9d, r9d ; +0x108, 0x14023fc08 movss [rsp+68h+var_48], xmm6 ; +0x10b, 0x14023fc0b xorps xmm2, xmm2 ; +0x111, 0x14023fc11 mov [rdi+500h], esi ; +0x114, 0x14023fc14 xorps xmm1, xmm1 ; +0x11a, 0x14023fc1a mov [rdi+311h], sil ; +0x11d, 0x14023fc1d mov rcx, rdi ; +0x124, 0x14023fc24 mov word ptr [rdi+760h], 0 ; +0x127, 0x14023fc27 mov dword ptr [rdi+2CCh], 3F000000h ; +0x130, 0x14023fc30 mov dword ptr [rdi+2D0h], 41200000h ; +0x13a, 0x14023fc3a call GJBaseGameLayer__updateZoom ; +0x144, 0x14023fc44 lea rdx, [rsp+68h+arg_0] ; +0x149, 0x14023fc49 mov [rdi+1B8h], esi ; +0x14e, 0x14023fc4e lea rcx, [rdi+428h] ; +0x154, 0x14023fc54 mov [rsp+68h+arg_0], 0Fh ; +0x15b, 0x14023fc5b call sub_14024AC30 ; +0x163, 0x14023fc63 mov eax, [rdi+1B8h] ; +0x168, 0x14023fc68 lea rdx, [rsp+68h+arg_0] ; +0x16e, 0x14023fc6e lea rcx, [rdi+428h] ; +0x173, 0x14023fc73 mov [rdi+1B0h], eax ; +0x17a, 0x14023fc7a mov [rdi+1BCh], esi ; +0x180, 0x14023fc80 mov [rsp+68h+arg_0], 10h ; +0x186, 0x14023fc86 call sub_14024AC30 ; +0x18e, 0x14023fc8e mov eax, [rdi+1BCh] ; +0x193, 0x14023fc93 lea rdx, [rsp+68h+arg_0] ; +0x199, 0x14023fc99 lea rcx, [rdi+428h] ; +0x19e, 0x14023fc9e mov [rdi+1B4h], eax ; +0x1a5, 0x14023fca5 mov dword ptr [rdi+2A4h], 4Bh ; 'K' ; +0x1ab, 0x14023fcab mov [rdi+2A8h], sil ; +0x1b5, 0x14023fcb5 mov dword ptr [rdi+2ACh], 4Bh ; 'K' ; +0x1bc, 0x14023fcbc mov [rdi+2B0h], sil ; +0x1c6, 0x14023fcc6 mov [rdi+28Ch], esi ; +0x1cd, 0x14023fccd mov [rsp+68h+arg_0], 13h ; +0x1d3, 0x14023fcd3 call sub_14024AC30 ; +0x1db, 0x14023fcdb mov eax, [rdi+28Ch] ; +0x1e0, 0x14023fce0 lea rdx, [rsp+68h+arg_0] ; +0x1e6, 0x14023fce6 lea rcx, [rdi+428h] ; +0x1eb, 0x14023fceb mov [rdi+284h], eax ; +0x1f2, 0x14023fcf2 mov [rdi+288h], esi ; +0x1f8, 0x14023fcf8 mov [rsp+68h+arg_0], 12h ; +0x1fe, 0x14023fcfe call sub_14024AC30 ; +0x206, 0x14023fd06 mov eax, [rdi+288h] ; +0x20b, 0x14023fd0b mov [rsp+68h+var_28], 0FFFFFFFFh ; +0x211, 0x14023fd11 xor r9d, r9d ; +0x219, 0x14023fd19 mov [rsp+68h+var_30], 0FFFFFFFFh ; +0x21c, 0x14023fd1c xor r8d, r8d ; +0x224, 0x14023fd24 movss [rsp+68h+var_38], xmm6 ; +0x227, 0x14023fd27 xorps xmm1, xmm1 ; +0x22d, 0x14023fd2d mov [rdi+280h], eax ; +0x230, 0x14023fd30 mov rcx, rdi ; +0x236, 0x14023fd36 mov rax, [rdi] ; +0x239, 0x14023fd39 mov [rsp+68h+var_40], esi ; +0x23c, 0x14023fd3c movss [rsp+68h+var_48], xmm6 ; +0x240, 0x14023fd40 mov [rdi+468h], rsi ; +0x246, 0x14023fd46 mov [rdi+470h], rsi ; +0x24d, 0x14023fd4d call qword ptr [rax+4D0h] ; +0x254, 0x14023fd54 lea rcx, [rdi+4DCh] ; +0x25a, 0x14023fd5a mov [rdi+3208h], rsi ; +0x261, 0x14023fd61 lea rdx, dword_1406C1D28 ; +0x268, 0x14023fd68 mov [rdi+3234h], rsi ; +0x26f, 0x14023fd6f mov byte ptr [rdi+323Ch], 1 ; +0x276, 0x14023fd76 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x27d, 0x14023fd7d mov dl, 1 ; +0x283, 0x14023fd83 mov rcx, rdi ; +0x285, 0x14023fd85 call GJBaseGameLayer__resetStaticCamera ; +0x288, 0x14023fd88 mov rbx, [rsp+68h+arg_8] ; +0x28d, 0x14023fd8d movaps xmm6, [rsp+68h+var_18] ; +0x292, 0x14023fd92 mov [rdi+51Dh], sil ; +0x297, 0x14023fd97 mov [rdi+520h], esi ; +0x29e, 0x14023fd9e mov [rdi+2C8h], si ; +0x2a4, 0x14023fda4 mov [rdi+304h], esi ; +0x2ab, 0x14023fdab mov rsi, [rsp+68h+arg_10] ; +0x2b1, 0x14023fdb1 mov dword ptr [rdi+220h], 3F800000h ; +0x2b9, 0x14023fdb9 mov dword ptr [rdi+224h], 3F800000h ; +0x2c3, 0x14023fdc3 add rsp, 60h ; +0x2cd, 0x14023fdcd pop rdi ; +0x2d1, 0x14023fdd1 retn ; +0x2d2, 0x14023fdd2