{"type": "func", "start": 5372819440, "end": 5372819720, "name": "SecretLayer3::animateEyes", "pseudocode": "// \n// SecretLayer3::animateEyes from 0x1403eb7f0 to 0x1403eb908 (280 bytes)\n// \n// 4 xrefs:\n// > SecretLayer3::init @ 0x1403ea8dc\n// > SecretLayer3::firstInteractionStep2 @ 0x1403ebe86\n// > SecretLayer3::animateEyes @ 0x1403eb89c\n// > <???> @ 0x1406d8084\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid SecretLayer3::animateEyes(SecretLayer3 *a1)\n{\n  float v1; // xmm3_4\n  int v3; // eax\n  struct cocos2d::CCDelayTime *v4; // r15\n  struct cocos2d::CCScaleTo *v5; // r14\n  __int64 v6; // rbp\n  struct cocos2d::CCDelayTime *v7; // rsi\n  __int64 v8; // rdi\n  struct cocos2d::CCScaleTo *v9; // rbx\n  __int64 v10; // rax\n  struct cocos2d::CCSequence *v11; // rax\n  cocos2d::ccColor3B *v12; // r8\n  float v13; // [rsp+80h] [rbp+28h]\n\n  v3 = rand();\n  v4 = cocos2d::CCDelayTime::create((float)((float)((float)v3 / 32767.0) * 4.0) + 2.0);\n  v5 = cocos2d::CCScaleTo::create(0.029999999, 1.0, 0.1);\n  v6 = cocos2d::CCHide::create();\n  v7 = cocos2d::CCDelayTime::create(0.1);\n  v8 = cocos2d::CCShow::create();\n  v9 = cocos2d::CCScaleTo::create(0.02, 1.0, 1.0);\n  v10 = cocos2d::CCCallFunc::create(a1, SecretLayer3::animateEyes);\n  v11 = cocos2d::CCSequence::create(v4, v5, v6, v7, v8, v9, v10, 0);\n  cocos2d::CCNode::runAction((CCLightFlash *)a1->m_demonEyes, (cocos2d::CCPoint)v11, v12, v1, v13);\n}", "assembly": "; \n; SecretLayer3::animateEyes from 0x1403eb7f0 to 0x1403eb908 (280 bytes)\n; \n; 4 xrefs:\n; > SecretLayer3::init @ 0x1403ea8dc\n; > SecretLayer3::firstInteractionStep2 @ 0x1403ebe86\n; > SecretLayer3::animateEyes @ 0x1403eb89c\n; > <???> @ 0x1406d8084\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1403eb7f0\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x1403eb7f5\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x1403eb7fa\nmov     [rsp+arg_18], rdi                                              ; +0xf, 0x1403eb7ff\npush    r13                                                            ; +0x14, 0x1403eb804\npush    r14                                                            ; +0x16, 0x1403eb806\npush    r15                                                            ; +0x18, 0x1403eb808\nsub     rsp, 40h                                                       ; +0x1a, 0x1403eb80a\nmov     r13, rcx                                                       ; +0x1e, 0x1403eb80e\ncall    cs:rand                                                        ; +0x21, 0x1403eb811\nmovd    xmm0, eax                                                      ; +0x27, 0x1403eb817\ncvtdq2ps xmm0, xmm0                                                    ; +0x2b, 0x1403eb81b\ndivss   xmm0, cs:dword_140623644                                       ; +0x2e, 0x1403eb81e\nmulss   xmm0, cs:dword_140622FF0                                       ; +0x36, 0x1403eb826\naddss   xmm0, cs:width                                                 ; +0x3e, 0x1403eb82e\ncall    cs:?create@CCDelayTime@cocos2d@@SAPEAV12@M@Z; cocos2d::CCDelayTime::create(float) ; +0x46, 0x1403eb836\nmovss   xmm2, cs:dword_140622A10                                       ; +0x4c, 0x1403eb83c\nmov     r15, rax                                                       ; +0x54, 0x1403eb844\nmovss   xmm1, cs:flt_140622C24                                         ; +0x57, 0x1403eb847\nmovss   xmm0, cs:dword_1406229C8                                       ; +0x5f, 0x1403eb84f\ncall    cs:?create@CCScaleTo@cocos2d@@SAPEAV12@MMM@Z; cocos2d::CCScaleTo::create(float,float,float) ; +0x67, 0x1403eb857\nmov     r14, rax                                                       ; +0x6d, 0x1403eb85d\ncall    cs:?create@CCHide@cocos2d@@SAPEAV12@XZ; cocos2d::CCHide::create(void) ; +0x70, 0x1403eb860\nmovss   xmm0, cs:dword_140622A10                                       ; +0x76, 0x1403eb866\nmov     rbp, rax                                                       ; +0x7e, 0x1403eb86e\ncall    cs:?create@CCDelayTime@cocos2d@@SAPEAV12@M@Z; cocos2d::CCDelayTime::create(float) ; +0x81, 0x1403eb871\nmov     rsi, rax                                                       ; +0x87, 0x1403eb877\ncall    cs:?create@CCShow@cocos2d@@SAPEAV12@XZ; cocos2d::CCShow::create(void) ; +0x8a, 0x1403eb87a\nmovss   xmm2, cs:flt_140622C24                                         ; +0x90, 0x1403eb880\nmov     rdi, rax                                                       ; +0x98, 0x1403eb888\nmovss   xmm0, cs:dword_1406229C0                                       ; +0x9b, 0x1403eb88b\nmovaps  xmm1, xmm2                                                     ; +0xa3, 0x1403eb893\ncall    cs:?create@CCScaleTo@cocos2d@@SAPEAV12@MMM@Z; cocos2d::CCScaleTo::create(float,float,float) ; +0xa6, 0x1403eb896\nlea     rdx, SecretLayer3__animateEyes                                 ; +0xac, 0x1403eb89c\nmov     rcx, r13                                                       ; +0xb3, 0x1403eb8a3\nmov     rbx, rax                                                       ; +0xb6, 0x1403eb8a6\ncall    cs:?create@CCCallFunc@cocos2d@@SAPEAV12@PEAVCCObject@2@P832@EAAXXZ@Z; cocos2d::CCCallFunc::create(cocos2d::CCObject *,void (cocos2d::CCObject::*)(void)) ; +0xb9, 0x1403eb8a9\nmov     [rsp+58h+var_20], 0                                            ; +0xbf, 0x1403eb8af\nmov     r9, rsi                                                        ; +0xc8, 0x1403eb8b8\nmov     [rsp+58h+var_28], rax                                          ; +0xcb, 0x1403eb8bb\nmov     r8, rbp                                                        ; +0xd0, 0x1403eb8c0\nmov     [rsp+58h+var_30], rbx                                          ; +0xd3, 0x1403eb8c3\nmov     rdx, r14                                                       ; +0xd8, 0x1403eb8c8\nmov     rcx, r15                                                       ; +0xdb, 0x1403eb8cb\nmov     [rsp+58h+var_38], rdi                                          ; +0xde, 0x1403eb8ce\ncall    cs:?create@CCSequence@cocos2d@@SAPEAV12@PEAVCCFiniteTimeAction@2@ZZ; cocos2d::CCSequence::create(cocos2d::CCFiniteTimeAction *,...) ; +0xe3, 0x1403eb8d3\nmov     rcx, [r13+1B8h]                                                ; +0xe9, 0x1403eb8d9\nmov     rdx, rax                                                       ; +0xf0, 0x1403eb8e0\nmov     rbx, [rsp+58h+arg_0]                                           ; +0xf3, 0x1403eb8e3\nmov     rbp, [rsp+58h+arg_8]                                           ; +0xf8, 0x1403eb8e8\nmov     rsi, [rsp+58h+arg_10]                                          ; +0xfd, 0x1403eb8ed\nmov     rdi, [rsp+58h+arg_18]                                          ; +0x102, 0x1403eb8f2\nadd     rsp, 40h                                                       ; +0x107, 0x1403eb8f7\npop     r15                                                            ; +0x10b, 0x1403eb8fb\npop     r14                                                            ; +0x10d, 0x1403eb8fd\npop     r13                                                            ; +0x10f, 0x1403eb8ff\njmp     cs:?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x111, 0x1403eb901", "xrefs": ["SecretLayer3::init @ 0x1403ea8dc", "SecretLayer3::firstInteractionStep2 @ 0x1403ebe86", "SecretLayer3::animateEyes @ 0x1403eb89c", "<???> @ 0x1406d8084"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}