{"type": "func", "start": 4298325708, "end": 4298325780, "name": "GameStatsManager::getChallengeKey", "pseudocode": "// \n// GameStatsManager::getChallengeKey from 0x100333ecc to 0x100333f14 (72 bytes)\n// \n// 2 xrefs:\n// > GameStatsManager::hasCompletedChallenge @ 0x100333f2c\n// > GameStatsManager::completedChallenge @ 0x100333fe0\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_QWORD *__usercall GameStatsManager::getChallengeKey@<X0>(__int64 a1@<X1>, _QWORD *a2@<X8>)\n{\n  cocos2d::CCString *v3; // x0\n  char *CString; // x1\n\n  v3 = (cocos2d::CCString *)sub_100268F4C(\"c%i%i\", *(_DWORD *)(a1 + 104), *(_DWORD *)(a1 + 96));\n  CString = (char *)cocos2d::CCString::getCString(v3);\n  return sub_100009900(a2, CString);\n}", "assembly": "; \n; GameStatsManager::getChallengeKey from 0x100333ecc to 0x100333f14 (72 bytes)\n; \n; 2 xrefs:\n; > GameStatsManager::hasCompletedChallenge @ 0x100333f2c\n; > GameStatsManager::completedChallenge @ 0x100333fe0\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\nSUB             SP, SP, #0x30                                          ; +0x0, 0x100333ecc\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x100333ed0\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x100333ed4\nADD             X29, SP, #0x20                                         ; +0xc, 0x100333ed8\nMOV             X19, X8                                                ; +0x10, 0x100333edc\nLDR             W8, [X1,#0x68]                                         ; +0x14, 0x100333ee0\nLDR             W9, [X1,#0x60]                                         ; +0x18, 0x100333ee4\nSTP             X8, X9, [SP,#0x20+var_20]                              ; +0x1c, 0x100333ee8\nADRL            X0, aCII; \"c%i%i\"                                      ; +0x20, 0x100333eec\nBL              sub_100268F4C                                          ; +0x28, 0x100333ef4\nBL              cocos2d__CCString__getCString                          ; +0x2c, 0x100333ef8\nMOV             X1, X0; __s                                            ; +0x30, 0x100333efc\nMOV             X0, X19; int                                           ; +0x34, 0x100333f00\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x38, 0x100333f04\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x3c, 0x100333f08\nADD             SP, SP, #0x30 ; '0'                                    ; +0x40, 0x100333f0c\nB               sub_100009900                                          ; +0x44, 0x100333f10", "xrefs": ["GameStatsManager::hasCompletedChallenge @ 0x100333f2c", "GameStatsManager::completedChallenge @ 0x100333fe0"], "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"}