{"type": "func", "start": 4296423264, "end": 4296423413, "name": "GJBaseGameLayer::playFlashEffect", "pseudocode": "// \n// GJBaseGameLayer::playFlashEffect from 0x100163760 to 0x1001637f5 (149 bytes)\n// \n// 0 xrefs:\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 __fastcall GJBaseGameLayer::playFlashEffect(GJBaseGameLayer *a1, float a2, int a3, float a4)\n{\n  unsigned int v4; // r14d\n  unsigned int v5; // eax\n  int v6; // ecx\n  int v7; // r8d\n  int v8; // r9d\n  cocos2d::CCAction *v9; // r14\n\n  a1->m_unk31f8 = a4;\n  ((void (__fastcall *)(cocos2d::CCNode *, __int64))a1->m_flashNode->setVisible)(a1->m_flashNode, 1);\n  v4 = (unsigned int)cocos2d::CCHide::create();\n  if ( a3 < 2 )\n    v5 = (unsigned int)cocos2d::CCDelayTime::create(a2);\n  else\n    v5 = (unsigned int)cocos2d::CCBlink::create(a2, a3 - 1);\n  v9 = (cocos2d::CCAction *)sub_1003B5760(v5, v4, 0, v6, v7, v8);\n  ((void (__fastcall *)(cocos2d::CCAction *, __int64))v9->setTag)(v9, 15);\n  cocos2d::CCNode::runAction(a1->m_flashNode, v9);\n}", "assembly": "; \n; GJBaseGameLayer::playFlashEffect from 0x100163760 to 0x1001637f5 (149 bytes)\n; \n; 0 xrefs:\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\npush    rbp                                                            ; +0x0, 0x100163760\nmov     rbp, rsp                                                       ; +0x1, 0x100163761\npush    r15                                                            ; +0x4, 0x100163764\npush    r14                                                            ; +0x6, 0x100163766\npush    rbx                                                            ; +0x8, 0x100163768\npush    rax                                                            ; +0x9, 0x100163769\nmov     r15d, esi                                                      ; +0xa, 0x10016376a\nmovss   [rbp+var_1C], xmm0                                             ; +0xd, 0x10016376d\nmov     rbx, rdi                                                       ; +0x12, 0x100163772\nmovss   dword ptr [rdi+3068h], xmm1                                    ; +0x15, 0x100163775\nmov     rdi, [rdi+3060h]                                               ; +0x1d, 0x10016377d\nmov     rax, [rdi]                                                     ; +0x24, 0x100163784\nmov     esi, 1                                                         ; +0x27, 0x100163787\ncall    qword ptr [rax+148h]                                           ; +0x2c, 0x10016378c\ncall    cocos2d__CCHide__create                                        ; +0x32, 0x100163792\nmov     r14, rax                                                       ; +0x37, 0x100163797\ncmp     r15d, 2                                                        ; +0x3a, 0x10016379a\njl      short loc_1001637B2                                            ; +0x3e, 0x10016379e\ndec     r15d                                                           ; +0x40, 0x1001637a0\nmovss   xmm0, [rbp+var_1C]                                             ; +0x43, 0x1001637a3\nmov     edi, r15d                                                      ; +0x48, 0x1001637a8\ncall    cocos2d__CCBlink__create                                       ; +0x4b, 0x1001637ab\njmp     short loc_1001637BC                                            ; +0x50, 0x1001637b0\nmovss   xmm0, [rbp+var_1C]                                             ; +0x52, 0x1001637b2\ncall    cocos2d__CCDelayTime__create                                   ; +0x57, 0x1001637b7\nmov     rdi, rax                                                       ; +0x5c, 0x1001637bc\nmov     rsi, r14                                                       ; +0x5f, 0x1001637bf\nxor     edx, edx                                                       ; +0x62, 0x1001637c2\nxor     eax, eax                                                       ; +0x64, 0x1001637c4\ncall    sub_1003B5760                                                  ; +0x66, 0x1001637c6\nmov     r14, rax                                                       ; +0x6b, 0x1001637cb\nmov     rax, [rax]                                                     ; +0x6e, 0x1001637ce\nmov     rdi, r14                                                       ; +0x71, 0x1001637d1\nmov     esi, 0Fh                                                       ; +0x74, 0x1001637d4\ncall    qword ptr [rax+48h]                                            ; +0x79, 0x1001637d9\nmov     rdi, [rbx+3060h]                                               ; +0x7c, 0x1001637dc\nmov     rsi, r14                                                       ; +0x83, 0x1001637e3\nadd     rsp, 8                                                         ; +0x86, 0x1001637e6\npop     rbx                                                            ; +0x8a, 0x1001637ea\npop     r14                                                            ; +0x8b, 0x1001637eb\npop     r15                                                            ; +0x8d, 0x1001637ed\npop     rbp                                                            ; +0x8f, 0x1001637ef\njmp     cocos2d__CCNode__runAction                                     ; +0x90, 0x1001637f0", "xrefs": [], "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"}