{"type": "func", "start": 5369203616, "end": 5369203862, "name": "LoadingCircleSprite::create", "pseudocode": "// \n// LoadingCircleSprite::create from 0x140078ba0 to 0x140078c96 (246 bytes)\n// \n// 6 xrefs:\n// > AudioAssetsBrowser::init @ 0x140099444\n// > PlatformerControlsPopup::init @ 0x14044fc1e\n// > MusicBrowser::init @ 0x14047b7ff\n// > SecretLayer5::init @ 0x14058a2c4\n// > SFXBrowser::init @ 0x1406187cd\n// > <???> @ 0x140911ce4\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 11:25:52 +0000\n// \n\n// Hidden C++ exception states: #wind=1\ncocos2d::CCSprite *__fastcall LoadingCircleSprite::create(float a1)\n{\n  cocos2d::CCSprite *v1; // rbx\n  struct cocos2d::CCActionInterval *v2; // rax\n  struct cocos2d::CCAction *v3; // rax\n\n  v1 = (cocos2d::CCSprite *)operator new(0x258u);\n  cocos2d::CCSprite::CCSprite(v1);\n  *(_QWORD *)v1 = &LoadingCircleSprite::`vftable';\n  *((_QWORD *)v1 + 40) = &LoadingCircleSprite::`vftable';\n  *((_QWORD *)v1 + 43) = &LoadingCircleSprite::`vftable';\n  if ( cocos2d::CCSprite::initWithFile(v1, \"loadingCircle.png\") )\n  {\n    (**((void (__fastcall ***)(_QWORD *, __int64))v1 + 43))((_QWORD *)v1 + 43, 0x100000302LL);\n    v2 = cocos2d::CCRotateBy::create(1.0, a1 * 360.0);\n    v3 = cocos2d::CCRepeatForever::create(v2);\n    cocos2d::CCNode::runAction(v1, v3);\n    cocos2d::CCObject::autorelease(v1);\n    return v1;\n  }\n  else\n  {\n    (*(void (__fastcall **)(cocos2d::CCSprite *, __int64))(*(_QWORD *)v1 + 8LL))(v1, 1);\n    return nullptr;\n  }\n}", "assembly": "; \n; LoadingCircleSprite::create from 0x140078ba0 to 0x140078c96 (246 bytes)\n; \n; 6 xrefs:\n; > AudioAssetsBrowser::init @ 0x140099444\n; > PlatformerControlsPopup::init @ 0x14044fc1e\n; > MusicBrowser::init @ 0x14047b7ff\n; > SecretLayer5::init @ 0x14058a2c4\n; > SFXBrowser::init @ 0x1406187cd\n; > <???> @ 0x140911ce4\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 11:25:52 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140078ba0\npush    rdi                                                            ; +0x5, 0x140078ba5\nsub     rsp, 30h                                                       ; +0x6, 0x140078ba6\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0xa, 0x140078baa\nmovaps  xmm6, xmm0                                                     ; +0xf, 0x140078baf\nmov     ecx, 258h; Size                                                ; +0x12, 0x140078bb2\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x17, 0x140078bb7\nmov     rbx, rax                                                       ; +0x1c, 0x140078bbc\nmov     [rsp+38h+arg_8], rax                                           ; +0x1f, 0x140078bbf\nmov     rcx, rax                                                       ; +0x24, 0x140078bc4\ncall    cs:??0CCSprite@cocos2d@@QEAA@XZ; cocos2d::CCSprite::CCSprite(void) ; +0x27, 0x140078bc7\nlea     rax, ??_7LoadingCircleSprite@@6B@; const LoadingCircleSprite::`vftable' ; +0x2d, 0x140078bcd\nmov     [rbx], rax                                                     ; +0x34, 0x140078bd4\nlea     rax, ??_7LoadingCircleSprite@@6B@_0; const LoadingCircleSprite::`vftable' ; +0x37, 0x140078bd7\nmov     [rbx+140h], rax                                                ; +0x3e, 0x140078bde\nlea     rax, ??_7LoadingCircleSprite@@6B@_1; const LoadingCircleSprite::`vftable' ; +0x45, 0x140078be5\nmov     [rbx+158h], rax                                                ; +0x4c, 0x140078bec\nlea     rdx, aLoadingcircleP; \"loadingCircle.png\"                      ; +0x53, 0x140078bf3\nmov     rcx, rbx                                                       ; +0x5a, 0x140078bfa\ncall    cs:__imp_?initWithFile@CCSprite@cocos2d@@UEAA_NPEBD@Z; cocos2d::CCSprite::initWithFile(char const *) ; +0x5d, 0x140078bfd\ntest    al, al                                                         ; +0x63, 0x140078c03\njz      short loc_140078C76                                            ; +0x65, 0x140078c05\nmov     dword ptr [rsp+38h+arg_8], 302h                                ; +0x67, 0x140078c07\nmov     dword ptr [rsp+38h+arg_8+4], 1                                 ; +0x6f, 0x140078c0f\nmov     rax, [rbx+158h]                                                ; +0x77, 0x140078c17\nmov     rdx, [rsp+38h+arg_8]                                           ; +0x7e, 0x140078c1e\nlea     rcx, [rbx+158h]                                                ; +0x83, 0x140078c23\ncall    qword ptr [rax]                                                ; +0x8a, 0x140078c2a\nmulss   xmm6, cs:Y                                                     ; +0x8c, 0x140078c2c\nmovaps  xmm1, xmm6                                                     ; +0x94, 0x140078c34\nmovss   xmm0, cs:flt_140835080                                         ; +0x97, 0x140078c37\ncall    cs:?create@CCRotateBy@cocos2d@@SAPEAV12@MM@Z; cocos2d::CCRotateBy::create(float,float) ; +0x9f, 0x140078c3f\nmov     rcx, rax                                                       ; +0xa5, 0x140078c45\ncall    cs:?create@CCRepeatForever@cocos2d@@SAPEAV12@PEAVCCActionInterval@2@@Z; cocos2d::CCRepeatForever::create(cocos2d::CCActionInterval *) ; +0xa8, 0x140078c48\nmov     rdx, rax                                                       ; +0xae, 0x140078c4e\nmov     rcx, rbx                                                       ; +0xb1, 0x140078c51\ncall    cs:?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0xb4, 0x140078c54\nmov     rcx, rbx                                                       ; +0xba, 0x140078c5a\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0xbd, 0x140078c5d\nmov     rax, rbx                                                       ; +0xc3, 0x140078c63\nmov     rbx, [rsp+38h+arg_0]                                           ; +0xc6, 0x140078c66\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0xcb, 0x140078c6b\nadd     rsp, 30h                                                       ; +0xd0, 0x140078c70\npop     rdi                                                            ; +0xd4, 0x140078c74\nretn                                                                   ; +0xd5, 0x140078c75\nmov     rax, [rbx]                                                     ; +0xd6, 0x140078c76\nmov     edx, 1                                                         ; +0xd9, 0x140078c79\nmov     rcx, rbx                                                       ; +0xde, 0x140078c7e\ncall    qword ptr [rax+8]                                              ; +0xe1, 0x140078c81\nxor     eax, eax                                                       ; +0xe4, 0x140078c84\nmov     rbx, [rsp+38h+arg_0]                                           ; +0xe6, 0x140078c86\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0xeb, 0x140078c8b\nadd     rsp, 30h                                                       ; +0xf0, 0x140078c90\npop     rdi                                                            ; +0xf4, 0x140078c94\nretn                                                                   ; +0xf5, 0x140078c95", "xrefs": ["AudioAssetsBrowser::init @ 0x140099444", "PlatformerControlsPopup::init @ 0x14044fc1e", "MusicBrowser::init @ 0x14047b7ff", "SecretLayer5::init @ 0x14058a2c4", "SFXBrowser::init @ 0x1406187cd", "<???> @ 0x140911ce4"], "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"}