{"type": "func", "start": 4296511056, "end": 4296511295, "name": "CCCircleAlert::init", "pseudocode": "// \n// CCCircleAlert::init from 0x100178e50 to 0x100178f3f (239 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\nbool __fastcall CCCircleAlert::init(CCCircleAlert *a1, float a2, float a3, float a4)\n{\n  unsigned int v4; // r14d\n  unsigned int v5; // r12d\n  unsigned int v6; // eax\n  int v7; // ecx\n  int v8; // r8d\n  int v9; // r9d\n  int v10; // esi\n  int v11; // ecx\n  int v12; // r8d\n  int v13; // r9d\n  cocos2d::CCAction *v14; // r14\n  cocos2d::CCDirector *v15; // rax\n  cocos2d::CCActionManager *v16; // rax\n\n  a1->m_radius = a2;\n  a1->m_opacity = 0.0;\n  *(_WORD *)&a1->m_color.r = -1;\n  a1->m_color.b = -1;\n  v4 = (unsigned int)cocos2d::CCActionTween::create_1(a4, \"radius\", a2, a3);\n  v5 = (unsigned int)cocos2d::CCActionTween::create_1(a4 + -0.30000001, \"opacity\", a1->m_opacity, 150.0);\n  v6 = (unsigned int)cocos2d::CCActionTween::create_1(0.30000001, \"opacity\", 150.0, 0.0);\n  v10 = sub_1003B5760(v5, v6, 0, v7, v8, v9);\n  v14 = (cocos2d::CCAction *)sub_1003B6B60(v4, v10, 0, v11, v12, v13);\n  v15 = cocos2d::CCDirector::sharedDirector();\n  v16 = (cocos2d::CCActionManager *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v15->getActionManager)(v15);\n  cocos2d::CCActionManager::addAction(v16, v14, a1, 0);\n  return 1;\n}", "assembly": "; \n; CCCircleAlert::init from 0x100178e50 to 0x100178f3f (239 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, 0x100178e50\nmov     rbp, rsp                                                       ; +0x1, 0x100178e51\npush    r15                                                            ; +0x4, 0x100178e54\npush    r14                                                            ; +0x6, 0x100178e56\npush    r12                                                            ; +0x8, 0x100178e58\npush    rbx                                                            ; +0xa, 0x100178e5a\nsub     rsp, 10h                                                       ; +0xb, 0x100178e5b\nmovaps  xmm3, xmm2                                                     ; +0xf, 0x100178e5f\nmovss   [rbp+var_24], xmm2                                             ; +0x12, 0x100178e62\nmovaps  xmm2, xmm1                                                     ; +0x17, 0x100178e67\nmovaps  xmm1, xmm0                                                     ; +0x1a, 0x100178e6a\nmov     rbx, rdi                                                       ; +0x1d, 0x100178e6d\nmovss   dword ptr [rdi+14Ch], xmm0                                     ; +0x20, 0x100178e70\nmov     dword ptr [rdi+150h], 0                                        ; +0x28, 0x100178e78\nmov     word ptr [rdi+154h], 0FFFFh                                    ; +0x32, 0x100178e82\nmov     byte ptr [rdi+156h], 0FFh                                      ; +0x3b, 0x100178e8b\nlea     rdi, aRadius; \"radius\"                                         ; +0x42, 0x100178e92\nmovaps  xmm0, xmm3                                                     ; +0x49, 0x100178e99\ncall    cocos2d__CCActionTween__create_1                               ; +0x4c, 0x100178e9c\nmov     r14, rax                                                       ; +0x51, 0x100178ea1\nmovss   xmm0, [rbp+var_24]                                             ; +0x54, 0x100178ea4\naddss   xmm0, cs:dword_100815D60                                       ; +0x59, 0x100178ea9\nmovss   xmm1, dword ptr [rbx+150h]                                     ; +0x61, 0x100178eb1\nlea     r15, aOpacity; \"opacity\"                                       ; +0x69, 0x100178eb9\nmovss   xmm2, cs:dword_100815068                                       ; +0x70, 0x100178ec0\nmov     rdi, r15; __s                                                  ; +0x78, 0x100178ec8\ncall    cocos2d__CCActionTween__create_1                               ; +0x7b, 0x100178ecb\nmov     r12, rax                                                       ; +0x80, 0x100178ed0\nmovss   xmm0, cs:dword_100815420                                       ; +0x83, 0x100178ed3\nxorps   xmm2, xmm2                                                     ; +0x8b, 0x100178edb\nmov     rdi, r15; __s                                                  ; +0x8e, 0x100178ede\nmovss   xmm1, cs:dword_100815068                                       ; +0x91, 0x100178ee1\ncall    cocos2d__CCActionTween__create_1                               ; +0x99, 0x100178ee9\nmov     rdi, r12                                                       ; +0x9e, 0x100178eee\nmov     rsi, rax                                                       ; +0xa1, 0x100178ef1\nxor     edx, edx                                                       ; +0xa4, 0x100178ef4\nxor     eax, eax                                                       ; +0xa6, 0x100178ef6\ncall    sub_1003B5760                                                  ; +0xa8, 0x100178ef8\nmov     rdi, r14                                                       ; +0xad, 0x100178efd\nmov     rsi, rax                                                       ; +0xb0, 0x100178f00\nxor     edx, edx                                                       ; +0xb3, 0x100178f03\nxor     eax, eax                                                       ; +0xb5, 0x100178f05\ncall    sub_1003B6B60                                                  ; +0xb7, 0x100178f07\nmov     r14, rax                                                       ; +0xbc, 0x100178f0c\ncall    cocos2d__CCDirector__sharedDirector                            ; +0xbf, 0x100178f0f\nmov     rcx, [rax]                                                     ; +0xc4, 0x100178f14\nmov     rdi, rax                                                       ; +0xc7, 0x100178f17\ncall    qword ptr [rcx+90h]                                            ; +0xca, 0x100178f1a\nmov     rdi, rax                                                       ; +0xd0, 0x100178f20\nmov     rsi, r14                                                       ; +0xd3, 0x100178f23\nmov     rdx, rbx                                                       ; +0xd6, 0x100178f26\nxor     ecx, ecx                                                       ; +0xd9, 0x100178f29\ncall    cocos2d__CCActionManager__addAction                            ; +0xdb, 0x100178f2b\nmov     al, 1                                                          ; +0xe0, 0x100178f30\nadd     rsp, 10h                                                       ; +0xe2, 0x100178f32\npop     rbx                                                            ; +0xe6, 0x100178f36\npop     r12                                                            ; +0xe7, 0x100178f37\npop     r14                                                            ; +0xe9, 0x100178f39\npop     r15                                                            ; +0xeb, 0x100178f3b\npop     rbp                                                            ; +0xed, 0x100178f3d\nretn                                                                   ; +0xee, 0x100178f3e", "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"}