{"type": "func", "start": 4295190928, "end": 4295191020, "name": "GameStatsManager::orbInfoForLevel", "pseudocode": "// \n// GameStatsManager::orbInfoForLevel from 0x100036990 to 0x1000369ec (92 bytes)\n// \n// 2 xrefs:\n// > LevelCell::loadCustomLevelCell @ 0x100239ab2\n// > LevelInfoLayer::updateLabelValues @ 0x1002afa16\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:19:32 +0000\n// \n\nunsigned __int64 __fastcall GameStatsManager::orbInfoForLevel(__int64 a1, _DWORD *a2, int a3, double a4, __m128 a5)\n{\n  int BaseCurrencyForLevel; // eax\n\n  BaseCurrencyForLevel = GameStatsManager::getBaseCurrencyForLevel(a1, a2);\n  *(float *)&a4 = (float)BaseCurrencyForLevel * 0.25;\n  return ((unsigned __int64)(unsigned int)((int)*(float *)&a4 + BaseCurrencyForLevel) << 32)\n       | (unsigned int)GameStatsManager::getAwardedCurrencyForLevel(a1, (__int64)a2, a3, a4, a5);\n}", "assembly": "; \n; GameStatsManager::orbInfoForLevel from 0x100036990 to 0x1000369ec (92 bytes)\n; \n; 2 xrefs:\n; > LevelCell::loadCustomLevelCell @ 0x100239ab2\n; > LevelInfoLayer::updateLabelValues @ 0x1002afa16\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:19:32 +0000\n; \npush    rbp                                                            ; +0x0, 0x100036990\nmov     rbp, rsp                                                       ; +0x1, 0x100036991\npush    r15                                                            ; +0x4, 0x100036994\npush    r14                                                            ; +0x6, 0x100036996\npush    r13                                                            ; +0x8, 0x100036998\npush    r12                                                            ; +0xa, 0x10003699a\npush    rbx                                                            ; +0xc, 0x10003699c\npush    rax                                                            ; +0xd, 0x10003699d\nmov     ebx, ecx                                                       ; +0xe, 0x10003699e\nmov     r14d, edx                                                      ; +0x10, 0x1000369a0\nmov     r15, rsi                                                       ; +0x13, 0x1000369a3\nmov     r12, rdi                                                       ; +0x16, 0x1000369a6\ncall    GameStatsManager__getBaseCurrencyForLevel                      ; +0x19, 0x1000369a9\nmov     r13d, eax                                                      ; +0x1e, 0x1000369ae\ncvtsi2ss xmm0, eax                                                     ; +0x21, 0x1000369b1\nmulss   xmm0, cs:dword_100A03B64                                       ; +0x25, 0x1000369b5\ncvttss2si eax, xmm0                                                    ; +0x2d, 0x1000369bd\nadd     r13d, eax                                                      ; +0x31, 0x1000369c1\nmov     rdi, r12                                                       ; +0x34, 0x1000369c4\nmov     rsi, r15                                                       ; +0x37, 0x1000369c7\nmov     edx, r14d                                                      ; +0x3a, 0x1000369ca\ncall    GameStatsManager__getAwardedCurrencyForLevel                   ; +0x3d, 0x1000369cd\nshl     r13, 20h                                                       ; +0x42, 0x1000369d2\nmov     eax, eax                                                       ; +0x46, 0x1000369d6\nor      rax, r13                                                       ; +0x48, 0x1000369d8\nmov     edx, ebx                                                       ; +0x4b, 0x1000369db\nadd     rsp, 8                                                         ; +0x4d, 0x1000369dd\npop     rbx                                                            ; +0x51, 0x1000369e1\npop     r12                                                            ; +0x52, 0x1000369e2\npop     r13                                                            ; +0x54, 0x1000369e4\npop     r14                                                            ; +0x56, 0x1000369e6\npop     r15                                                            ; +0x58, 0x1000369e8\npop     rbp                                                            ; +0x5a, 0x1000369ea\nretn                                                                   ; +0x5b, 0x1000369eb", "xrefs": ["LevelCell::loadCustomLevelCell @ 0x100239ab2", "LevelInfoLayer::updateLabelValues @ 0x1002afa16"], "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"}