{"type": "func", "start": 4297415556, "end": 4297415668, "name": "GauntletSelectLayer::rewardedVideoFinished", "pseudocode": "// \n// GauntletSelectLayer::rewardedVideoFinished from 0x100255b84 to 0x100255bf4 (112 bytes)\n// \n// 2 xrefs:\n// > sub_100255F4C @ 0x100255f50\n// > <???> @ 0x10090e330\n// \n// This function is hookable on this platform (idp: arm, 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:01:33 +0000\n// \n\ndouble __fastcall GauntletSelectLayer::rewardedVideoFinished(__int64 a1)\n{\n  float *v2; // x20\n  char v3; // w0\n  __int64 v4; // x1\n  __int64 v5; // x2\n  __int64 v6; // x3\n  __int64 v7; // x4\n  __int64 v8; // x5\n  __int64 v9; // x6\n  __int64 v10; // x7\n  __int64 v11; // x1\n  double result; // d0\n\n  *(_WORD *)(a1 + 512) = 256;\n  *(_BYTE *)(*(_QWORD *)(a1 + 440) + 628LL) = 1;\n  v2 = cocos2d::CCDelayTime::create(0.1);\n  v3 = (unsigned __int8)cocos2d::CCCallFunc::create(a1, (__int64)GauntletSelectLayer::playUnlockAnimation, 0);\n  v11 = sub_10021D420((__int64)v2, v4, v5, v6, v7, v8, v9, v10, v3);\n  *(_QWORD *)&result = cocos2d::CCNode::runAction(a1, v11).n128_u64[0];\n  return result;\n}", "assembly": "; \n; GauntletSelectLayer::rewardedVideoFinished from 0x100255b84 to 0x100255bf4 (112 bytes)\n; \n; 2 xrefs:\n; > sub_100255F4C @ 0x100255f50\n; > <???> @ 0x10090e330\n; \n; This function is hookable on this platform (idp: arm, 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:01:33 +0000\n; \nSUB             SP, SP, #0x30                                          ; +0x0, 0x100255b84\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x100255b88\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x100255b8c\nADD             X29, SP, #0x20                                         ; +0xc, 0x100255b90\nMOV             X19, X0                                                ; +0x10, 0x100255b94\nMOV             W8, #0x100                                             ; +0x14, 0x100255b98\nSTRH            W8, [X0,#0x200]                                        ; +0x18, 0x100255b9c\nLDR             X8, [X0,#0x1B8]                                        ; +0x1c, 0x100255ba0\nMOV             W9, #1                                                 ; +0x20, 0x100255ba4\nSTRB            W9, [X8,#0x274]                                        ; +0x24, 0x100255ba8\nADRP            X8, #dword_10075BD10@PAGE                              ; +0x28, 0x100255bac\nLDR             S0, [X8,#dword_10075BD10@PAGEOFF]                      ; +0x2c, 0x100255bb0\nBL              cocos2d__CCDelayTime__create                           ; +0x30, 0x100255bb4\nMOV             X20, X0                                                ; +0x34, 0x100255bb8\nADRL            X1, GauntletSelectLayer__playUnlockAnimation           ; +0x38, 0x100255bbc\nMOV             X0, X19                                                ; +0x40, 0x100255bc4\nMOV             X2, #0                                                 ; +0x44, 0x100255bc8\nBL              cocos2d__CCCallFunc__create                            ; +0x48, 0x100255bcc\nSTP             X0, XZR, [SP,#0x20+var_20]                             ; +0x4c, 0x100255bd0\nMOV             X0, X20                                                ; +0x50, 0x100255bd4\nBL              sub_10021D420                                          ; +0x54, 0x100255bd8\nMOV             X1, X0                                                 ; +0x58, 0x100255bdc\nMOV             X0, X19                                                ; +0x5c, 0x100255be0\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x60, 0x100255be4\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x64, 0x100255be8\nADD             SP, SP, #0x30 ; '0'                                    ; +0x68, 0x100255bec\nB               cocos2d__CCNode__runAction                             ; +0x6c, 0x100255bf0", "xrefs": ["sub_100255F4C @ 0x100255f50", "<???> @ 0x10090e330"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}