{"type": "func", "start": 4296376832, "end": 4296377071, "name": "CCCircleAlert::init", "pseudocode": "// \n// CCCircleAlert::init from 0x100158200 to 0x1001582ef (239 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:25:05 +0000\n// \n\nchar __fastcall CCCircleAlert::init(__int64 a1, float a2)\n{\n  __int64 v3; // r14\n  int v4; // r12d\n  int v5; // eax\n  int v6; // ecx\n  int v7; // r8d\n  int v8; // r9d\n  __int64 v9; // rdi\n  __int64 v10; // rsi\n  int v11; // ecx\n  int v12; // r8d\n  int v13; // r9d\n  __int64 v14; // r14\n  __int64 v15; // rax\n  __int64 v16; // rax\n\n  *(float *)(a1 + 332) = a2;\n  *(_DWORD *)(a1 + 336) = 0;\n  *(_WORD *)(a1 + 340) = -1;\n  *(_BYTE *)(a1 + 342) = -1;\n  v3 = cocos2d::CCActionTween::create_1((std::string::value_type *)\"radius\");\n  v4 = cocos2d::CCActionTween::create_1((std::string::value_type *)\"opacity\");\n  v5 = cocos2d::CCActionTween::create_1((std::string::value_type *)\"opacity\");\n  v9 = v3;\n  v10 = sub_10039EB60(v4, v5, 0, v6, v7, v8);\n  v14 = sub_10039FF60(v3, v10, 0, v11, v12, v13);\n  v15 = cocos2d::CCDirector::sharedDirector(v9, v10);\n  v16 = (*(__int64 (__fastcall **)(__int64, float, float, double))(*(_QWORD *)v15 + 144LL))(v15, 0.30000001, 150.0, 0.0);\n  cocos2d::CCActionManager::addAction(v16, v14, a1, 0);\n  return 1;\n}", "assembly": "; \n; CCCircleAlert::init from 0x100158200 to 0x1001582ef (239 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:25:05 +0000\n; \npush    rbp                                                            ; +0x0, 0x100158200\nmov     rbp, rsp                                                       ; +0x1, 0x100158201\npush    r15                                                            ; +0x4, 0x100158204\npush    r14                                                            ; +0x6, 0x100158206\npush    r12                                                            ; +0x8, 0x100158208\npush    rbx                                                            ; +0xa, 0x10015820a\nsub     rsp, 10h                                                       ; +0xb, 0x10015820b\nmovaps  xmm3, xmm2                                                     ; +0xf, 0x10015820f\nmovss   [rbp+var_24], xmm2                                             ; +0x12, 0x100158212\nmovaps  xmm2, xmm1                                                     ; +0x17, 0x100158217\nmovaps  xmm1, xmm0                                                     ; +0x1a, 0x10015821a\nmov     rbx, rdi                                                       ; +0x1d, 0x10015821d\nmovss   dword ptr [rdi+14Ch], xmm0                                     ; +0x20, 0x100158220\nmov     dword ptr [rdi+150h], 0                                        ; +0x28, 0x100158228\nmov     word ptr [rdi+154h], 0FFFFh                                    ; +0x32, 0x100158232\nmov     byte ptr [rdi+156h], 0FFh                                      ; +0x3b, 0x10015823b\nlea     rdi, aRadius; \"radius\"                                         ; +0x42, 0x100158242\nmovaps  xmm0, xmm3                                                     ; +0x49, 0x100158249\ncall    cocos2d__CCActionTween__create_1                               ; +0x4c, 0x10015824c\nmov     r14, rax                                                       ; +0x51, 0x100158251\nmovss   xmm0, [rbp+var_24]                                             ; +0x54, 0x100158254\naddss   xmm0, cs:dword_100A0417C                                       ; +0x59, 0x100158259\nmovss   xmm1, dword ptr [rbx+150h]                                     ; +0x61, 0x100158261\nlea     r15, aOpacity; \"opacity\"                                       ; +0x69, 0x100158269\nmovss   xmm2, cs:dword_100A03A7C                                       ; +0x70, 0x100158270\nmov     rdi, r15; __s                                                  ; +0x78, 0x100158278\ncall    cocos2d__CCActionTween__create_1                               ; +0x7b, 0x10015827b\nmov     r12, rax                                                       ; +0x80, 0x100158280\nmovss   xmm0, cs:dword_100A03748                                       ; +0x83, 0x100158283\nxorps   xmm2, xmm2                                                     ; +0x8b, 0x10015828b\nmov     rdi, r15; __s                                                  ; +0x8e, 0x10015828e\nmovss   xmm1, cs:dword_100A03A7C                                       ; +0x91, 0x100158291\ncall    cocos2d__CCActionTween__create_1                               ; +0x99, 0x100158299\nmov     rdi, r12                                                       ; +0x9e, 0x10015829e\nmov     rsi, rax                                                       ; +0xa1, 0x1001582a1\nxor     edx, edx                                                       ; +0xa4, 0x1001582a4\nxor     eax, eax                                                       ; +0xa6, 0x1001582a6\ncall    sub_10039EB60                                                  ; +0xa8, 0x1001582a8\nmov     rdi, r14                                                       ; +0xad, 0x1001582ad\nmov     rsi, rax                                                       ; +0xb0, 0x1001582b0\nxor     edx, edx                                                       ; +0xb3, 0x1001582b3\nxor     eax, eax                                                       ; +0xb5, 0x1001582b5\ncall    sub_10039FF60                                                  ; +0xb7, 0x1001582b7\nmov     r14, rax                                                       ; +0xbc, 0x1001582bc\ncall    cocos2d__CCDirector__sharedDirector                            ; +0xbf, 0x1001582bf\nmov     rcx, [rax]                                                     ; +0xc4, 0x1001582c4\nmov     rdi, rax                                                       ; +0xc7, 0x1001582c7\ncall    qword ptr [rcx+90h]                                            ; +0xca, 0x1001582ca\nmov     rdi, rax                                                       ; +0xd0, 0x1001582d0\nmov     rsi, r14                                                       ; +0xd3, 0x1001582d3\nmov     rdx, rbx                                                       ; +0xd6, 0x1001582d6\nxor     ecx, ecx                                                       ; +0xd9, 0x1001582d9\ncall    cocos2d__CCActionManager__addAction                            ; +0xdb, 0x1001582db\nmov     al, 1                                                          ; +0xe0, 0x1001582e0\nadd     rsp, 10h                                                       ; +0xe2, 0x1001582e2\npop     rbx                                                            ; +0xe6, 0x1001582e6\npop     r12                                                            ; +0xe7, 0x1001582e7\npop     r14                                                            ; +0xe9, 0x1001582e9\npop     r15                                                            ; +0xeb, 0x1001582eb\npop     rbp                                                            ; +0xed, 0x1001582ed\nretn                                                                   ; +0xee, 0x1001582ee", "xrefs": [], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}