{"type": "func", "start": 5369186128, "end": 5369186239, "name": "SpriteAnimationManager::getPrio", "pseudocode": "// \n// SpriteAnimationManager::getPrio from 0x140074750 to 0x1400747bf (111 bytes)\n// \n// 5 xrefs:\n// > SpriteAnimationManager::runAnimation @ 0x140073e54\n// > SpriteAnimationManager::runAnimation @ 0x140073eab\n// > SpriteAnimationManager::queueAnimation @ 0x140074576\n// > SpriteAnimationManager::queueAnimation @ 0x1400745cb\n// > <???> @ 0x1406c636c\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\n// Hidden C++ exception states: #wind=1\n__int64 __fastcall SpriteAnimationManager::getPrio(__int64 a1, __int64 a2)\n{\n  cocos2d::CCString *v3; // rax\n  unsigned int v5; // ebx\n\n  v3 = (cocos2d::CCString *)cocos2d::CCDictionary::objectForKey(*(_QWORD *)(a1 + 328), a2);\n  if ( v3 )\n  {\n    v5 = cocos2d::CCString::intValue(v3);\n    sub_14003A830(a2);\n    return v5;\n  }\n  else\n  {\n    sub_14003A830(a2);\n    return 99;\n  }\n}", "assembly": "; \n; SpriteAnimationManager::getPrio from 0x140074750 to 0x1400747bf (111 bytes)\n; \n; 5 xrefs:\n; > SpriteAnimationManager::runAnimation @ 0x140073e54\n; > SpriteAnimationManager::runAnimation @ 0x140073eab\n; > SpriteAnimationManager::queueAnimation @ 0x140074576\n; > SpriteAnimationManager::queueAnimation @ 0x1400745cb\n; > <???> @ 0x1406c636c\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_10], rbx                                              ; +0x0, 0x140074750\npush    rdi                                                            ; +0x5, 0x140074755\nsub     rsp, 30h                                                       ; +0x6, 0x140074756\nmov     rax, cs:__security_cookie                                      ; +0xa, 0x14007475a\nxor     rax, rsp                                                       ; +0x11, 0x140074761\nmov     [rsp+38h+var_10], rax                                          ; +0x14, 0x140074764\nmov     rdi, rdx                                                       ; +0x19, 0x140074769\nmov     [rsp+38h+var_18], rdx                                          ; +0x1c, 0x14007476c\nmov     rcx, [rcx+148h]                                                ; +0x21, 0x140074771\ncall    cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::objectForKey(std::string const &) ; +0x28, 0x140074778\ntest    rax, rax                                                       ; +0x2e, 0x14007477e\njnz     short loc_140074792                                            ; +0x31, 0x140074781\nmov     rcx, rdi                                                       ; +0x33, 0x140074783\ncall    sub_14003A830                                                  ; +0x36, 0x140074786\nmov     eax, 63h ; 'c'                                                 ; +0x3b, 0x14007478b\njmp     short loc_1400747A7                                            ; +0x40, 0x140074790\nmov     rcx, rax                                                       ; +0x42, 0x140074792\ncall    cs:?intValue@CCString@cocos2d@@QEBAHXZ; cocos2d::CCString::intValue(void) ; +0x45, 0x140074795\nmov     ebx, eax                                                       ; +0x4b, 0x14007479b\nmov     rcx, rdi                                                       ; +0x4d, 0x14007479d\ncall    sub_14003A830                                                  ; +0x50, 0x1400747a0\nmov     eax, ebx                                                       ; +0x55, 0x1400747a5\nmov     rcx, [rsp+38h+var_10]                                          ; +0x57, 0x1400747a7\nxor     rcx, rsp; StackCookie                                          ; +0x5c, 0x1400747ac\ncall    __security_check_cookie                                        ; +0x5f, 0x1400747af\nmov     rbx, [rsp+38h+arg_10]                                          ; +0x64, 0x1400747b4\nadd     rsp, 30h                                                       ; +0x69, 0x1400747b9\npop     rdi                                                            ; +0x6d, 0x1400747bd\nretn                                                                   ; +0x6e, 0x1400747be", "xrefs": ["SpriteAnimationManager::runAnimation @ 0x140073e54", "SpriteAnimationManager::runAnimation @ 0x140073eab", "SpriteAnimationManager::queueAnimation @ 0x140074576", "SpriteAnimationManager::queueAnimation @ 0x1400745cb", "<???> @ 0x1406c636c"], "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"}